New to Telerik UI for WinForms? Start a free 30-day trial

Provides a cancellable opportunity to replace or suppress a tab item's context menu before it is shown.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTabbedFormControlItemConextMenuOpeningEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsRadTabbedFormControlItemConextMenuOpeningEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data for the specified tab item and its context menu.

C#
public RadTabbedFormControlItemConextMenuOpeningEventArgs(RadTabbedFormControlItem tabItem, RadDropDownMenu contextMenu)
Parameters:tabItemRadTabbedFormControlItem

The item whose context menu is opening.

contextMenuRadDropDownMenu

The initial menu, which can be replaced or set to null to suppress display.

Properties

Gets or sets the context menu.

C#
public RadDropDownMenu ContextMenu { get; set; }

Gets the tab item on which it has been clicked.

C#
public RadTabbedFormControlItem TabItem { get; }