Class ShowContextMenuEventArgs
Provides data about the cancellable ShowContextMenu event.
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class ShowContextMenuEventArgs : SyncfusionCancelEventArgs
Remarks
ShowContextMenuEventArgs is a custom event argument class used by the ShowContextMenu event when the user right-clicks inside the control.
You can cancel showing a context menu when you assign True to System.ComponentModel.CancelEventArgs.Cancel.
Constructors
ShowContextMenuEventArgs(Point)
Initializes a new object.
Declaration
public ShowContextMenuEventArgs(Point point)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | point | The mouse location in screen coordinates. |
Properties
Point
Returns the mouse location in screen coordinates.
Declaration
[TraceProperty(true)]
public Point Point { get; }
Property Value
Type |
---|
System.Drawing.Point |