Select to view content in your preferred language

Disable Pop-Ups for Graphic Layer

761
2
06-01-2012 03:45 PM
ElisabethvanderLeeuw
Emerging Contributor
Does anyone know how to disable pop-ups for layers programmatically?  I am adding a graphics layer in code and do not want the default pop-up to appear for the layer.  I do however want the popup to appear for other dynamic layers (underneath the graphics layer).

thank you,

Elisabeth
0 Kudos
2 Replies
JeffMcConnell
Occasional Contributor
0 Kudos
ElisabethvanderLeeuw
Emerging Contributor
Thank you Jeff - you pointed me in the right direction...

I couldn't quite figure out how to get LayerProperties.SetsIsPopupEnabled to work...

but ...   graphicsLayer.SetValue(LayerProperties.IsPopupEnabledProperty, false);  worked - no popups for the graphics Layer!

thanks,

Elisabeth
0 Kudos