Context menu

2265
1
06-29-2011 05:43 AM
Labels (1)
YevgenyYarovoy
New Contributor
Hello.

I need to create context menu in *.xaml in <esri:ArcGISDynamicMapServiceLayer...
How I can do that?
I don't want to make it in <Grid..., because I need context menu for one choosed layer(layer, what was selected by mouse) and where exist not only layers, in this *.xaml exists other controls (like buttons).
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You can look at the following WPF tutorial: http://www.wpftutorial.net/ContextMenu.html
0 Kudos