Class ContextMenuOpeningEventArgs
Provides data about the ContextMenuOpening event.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ContextMenuOpeningEventArgs : SyncfusionCancelEventArgs
Constructors
ContextMenuOpeningEventArgs(ContextMenuStrip, TabPageAdv, Point)
Initializes an instance of the ContextMenuOpeningEventArgs class.
Declaration
public ContextMenuOpeningEventArgs(ContextMenuStrip contextMenu, TabPageAdv tab, Point Location)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ContextMenuStrip | contextMenu | |
TabPageAdv | tab | The tab page in which the context menu to be shown. |
System.Drawing.Point | Location | The location of context menu. |
Properties
ContextMenu
Gets or sets the context menu associated with tab.
Declaration
public ContextMenuStrip ContextMenu { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ContextMenuStrip |
Location
Gets or sets the location of the context menu.
Declaration
public Point Location { get; set; }
Property Value
Type |
---|
System.Drawing.Point |
Tab
Gets the tab in which the context menu is showing.
Declaration
public TabPageAdv Tab { get; }
Property Value
Type |
---|
TabPageAdv |