Select to view content in your preferred language

Feature right click event

954
3
11-18-2010 02:01 PM
IgressT
Emerging Contributor
Is there any way to determine mouse right click event on a feature.
I have a featurelayer (polylines) i want to display a context menu when user right clicks on a feature.
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
You can subscribe to MouseRightButtonDown on the layer. e.Graphic will give you the feature that you need.
0 Kudos
___1
by
New Contributor
mark,and will see soon,i think its useful for me.thanks.
0 Kudos
IgressT
Emerging Contributor
Thanks works perfectly
0 Kudos