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

Provides the clicked menu item and its associated dock window. Set Handled to prevent the service from performing the item's default action.

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

C#
public class ContextMenuItemClickEventArgs : DockWindowEventArgs

Inheritance: objectEventArgsDockWindowEventArgsContextMenuItemClickEventArgs

Inherited Members DockWindowEventArgs.DockWindowEventArgs.Empty

Constructors

Initializes event data for a context-menu item click.

C#
public ContextMenuItemClickEventArgs(DockWindow window, RadMenuItemBase item)
Parameters:windowDockWindow

The dock window associated with the menu item.

itemRadMenuItemBase

The menu item that was clicked.

Properties

Determines whether the event is handled by the user and default action should not be performed.

C#
public bool Handled { get; set; }

Gets the RadMenuItemBase instance, that is clicked.

C#
public RadMenuItemBase Item { get; }