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, ContextMenuStrip)
Initializes a new instance of the ContextMenuShowingEventArgs class.
Declaration
public ContextMenuShowingEventArgs(Point point, ContextMenuStrip contextMenu)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | point | The mouse location in screen coordinates. |
System.Windows.Forms.ContextMenuStrip | contextMenu | The context menu strip that needs to be show on the given point. |
Properties
ContextMenu
Gets or sets the context menu strip that need to be displayed.
Declaration
public ContextMenuStrip ContextMenu { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ContextMenuStrip |
Point
Gets the screen coordinates of the mouse cursor.
Declaration
public Point Point { get; }
Property Value
Type |
---|
System.Drawing.Point |