Class ContextMenuRequestedEventArgs
Event args for context menu request.
public class ContextMenuRequestedEventArgs : EventArgs
- Inheritance
-
ContextMenuRequestedEventArgs
- Inherited Members
Constructors
ContextMenuRequestedEventArgs(Control?, Point, Point, Node?, Edge?)
public ContextMenuRequestedEventArgs(Control? target, Point screenPosition, Point canvasPosition, Node? node = null, Edge? edge = null)
Parameters
Properties
CanvasPosition
The canvas position where the context menu was requested.
public Point CanvasPosition { get; }
Property Value
Edge
The edge that was right-clicked, if any.
public Edge? Edge { get; }
Property Value
Node
The node that was right-clicked, if any.
public Node? Node { get; }
Property Value
ScreenPosition
The screen position where the context menu was requested.
public Point ScreenPosition { get; }
Property Value
- Point
Target
The target control that was right-clicked.
public Control? Target { get; }
Property Value
- Control