Select to view content in your preferred language

Graphics Layer right-click event?

1373
2
09-06-2013 10:44 AM
DK5
by
Deactivated User
I am trying to capture the right click event of the graphics layer.  There are events for click and dbl-click.  How would I add an event handler to right click and still get the graphic in the event?
0 Kudos
2 Replies
StephenLead
Honored Contributor
There's a sample Display Context Menu which shows how to do this.
0 Kudos
DK5
by
Deactivated User
I saw that sample - it is using the digit menu and it appears that the control handles that internally.  I want to be able to handle it just like a left click - without using the digit menu.
0 Kudos