BCGControlBar Library for .NET
MdiTabContextMenu Event




Occurs when a default context menu is shown on right mouse button click on the tab item from the TabStrip control on the MDIContainer.
Syntax
'Declaration
 
Public Event MdiTabContextMenu As MdiTabsContextMenuHandler
'Usage
 
Dim instance As MdiTabsOptions
Dim handler As MdiTabsContextMenuHandler
 
AddHandler instance.MdiTabContextMenu, handler
public event MdiTabsContextMenuHandler MdiTabContextMenu
public: __event MdiTabsContextMenuHandler* MdiTabContextMenu
public:
event MdiTabsContextMenuHandler^ MdiTabContextMenu
Event Data

The event handler receives an argument of type MdiTabsContextMenuEventArgs containing data related to this event. The following MdiTabsContextMenuEventArgs properties provide information specific to this event.

PropertyDescription
ActiveContainer Gets a MDIContainer which contains the tab strip with selected tab.
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
MdiForm Gets a form related to the selected tab item for which the context menu will be shown.
MenuLocation Gets a point in screen coordinates of the upper-left corner of the context menu to show.
TabbedDockingPane Gets a docking pane embedded to the form associated with selected tab item.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MdiTabsOptions Class
MdiTabsOptions Members

Send Feedback