Select to view content in your preferred language

Disable pop-ups programatically

827
2
11-14-2013 05:26 AM
JulianoSanchez
New Contributor
Hi all,

I have a feature layer added programatically in my Addin, when a graphic on this layer is clicked a popupinfo is show.

How can I disable the pop-ups programatically?

Tks,
0 Kudos
2 Replies
PietaSwanepoel2
Frequent Contributor
Like so:

FeatureLayer myFeatureLayer;
....
ESRI.ArcGIS.Client.Extensibility.LayerProperties.SetIsPopupEnabled(myFeatureLayer, false);
0 Kudos
JulianoSanchez
New Contributor
Hi PietaS175,

Thanks for your help, this works! 😄
0 Kudos