Class ContextMenuShowingEventArgs
Provides data about the cancel-able
Inheritance
System.Object
ContextMenuShowingEventArgs
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Core.WinForms.dll
Syntax
[ComVisible(false)]
public sealed class ContextMenuShowingEventArgs : CancelEventArgs
Constructors
ContextMenuShowingEventArgs(Point, ContextMenu)
Initializes a new instance of the ContextMenuShowingEventArgs class.
Declaration
public ContextMenuShowingEventArgs(Point point, ContextMenu contextMenu)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | point | The mouse location in screen coordinates. |
System.Windows.Forms.ContextMenu | contextMenu | The context menu that needs to be show on the given point. |
Properties
ContextMenu
Gets or sets the context menu that need to be displayed.
Declaration
public ContextMenu ContextMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.ContextMenu |
Point
Gets the screen coordinates of the mouse cursor.
Declaration
public Point Point { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Point |