Context menu

Discussion created by archymag on Jun 29, 2011
Latest reply on Jul 8, 2011 by JNery-esristaff

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).