Check when a user right clicks a shape in the diagram

Applies to: Nevron Diagram for .NET

How to check when a user right clicks a shape in the diagram?

You have to subscribe to the NodeMouseDown event of the NDrawingView event sync service. For example:

[C#]
nDrawingView1.EventSinkService.NodeMouseDown += new NodeMouseEventHandler(EventSinkService_NodeMouseDown);

[VB.NET]
AddHandler NDrawingView1.EventSinkService.NodeMouseDown, AddressOf EventSinkService_NodeMouseDown

Article ID: 18, Created On: 9/29/2010, Modified: 5/5/2011