Select to view content in your preferred language

Turn Identify Behavior on and off programmatically

566
2
06-18-2012 06:13 AM
EdwardSon
Emerging Contributor
I need to be able to turn the Identify Behavior on and off on demand from the code (programmatically) because it is interfering with clicks on the feature layers.
Is this possible?
0 Kudos
2 Replies
JeffMcConnell
Occasional Contributor
Try using LayerProperties.SetIsPopupEnabled


LayerProperties.SetIsPopupEnabled(FeatureLayer, false);
0 Kudos
EdwardSon
Emerging Contributor
Worked. 🙂
0 Kudos