Class AutoHideTabContextMenuEventArgs
Custom event argument class used by the AutoHideTabContextMenu event.
Inheritance
System.Object
System.EventArgs
AutoHideTabContextMenuEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class AutoHideTabContextMenuEventArgs : EventArgs
Remarks
The DockingManager uses the AutoHideTabContextMenu event to allow users to modify the context menu displayed when a AutoHideTab is right-clicked. AutoHideTabContextMenuEventHandler
Constructors
AutoHideTabContextMenuEventArgs(PopupMenu, DockingStyle)
Creates a new instance of the AutoHideTabContextMenuEventArgs class.
Declaration
public AutoHideTabContextMenuEventArgs(PopupMenu menu, DockingStyle edge)
Parameters
Type | Name | Description |
---|---|---|
PopupMenu | menu | The menu being displayed. |
DockingStyle | edge | The docked edge of AutoHidetab control displaying the menu. |
Fields
dStyle
Declaration
protected DockingStyle dStyle
Field Value
Type |
---|
DockingStyle |
mnuContext
Declaration
protected PopupMenu mnuContext
Field Value
Type |
---|
PopupMenu |
Properties
ContextMenu
Gets / sets the context menu to be displayed.
Declaration
public PopupMenu ContextMenu { get; set; }
Property Value
Type | Description |
---|---|
PopupMenu | An instance of the PopupMenu class. |
Side
Returns the side to where the AutoHideTab aligned.
Declaration
public DockingStyle Side { get; }
Property Value
Type |
---|
DockingStyle |