Class
ContextMenuOpeningEventArgs

Provides data for the ContextMenuOpening event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class ContextMenuOpeningEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsContextMenuOpeningEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

ContextMenuOpeningEventArgs(IContextMenuProvider, RadDropDownMenu)

Initializes a new instance of the GridViewRowEventArgs class.

Declaration

cs-api-definition
public ContextMenuOpeningEventArgs(IContextMenuProvider provider, RadDropDownMenu contextMenu)

Parameters

provider

IContextMenuProvider

the element for which the context menu will be open

contextMenu

RadDropDownMenu

the context menu which is associated with this provider

ContextMenuOpeningEventArgs(IContextMenuProvider, RadDropDownMenu, bool)

Initializes a new instance of the GridViewRowEventArgs class.

Declaration

cs-api-definition
public ContextMenuOpeningEventArgs(IContextMenuProvider provider, RadDropDownMenu contextMenu, bool cancel)

Parameters

provider

IContextMenuProvider

the element for which the context menu will be open

contextMenu

RadDropDownMenu

the context menu which is associated with this provider

cancel

bool

a value indicating whether to cancel the event

Properties

ContextMenu

Gets or sets the context menu which is associated with this provider

Declaration

cs-api-definition
public RadDropDownMenu ContextMenu { get; set; }

Property Value

RadDropDownMenu

ContextMenuProvider

Gets the element for which the context menu will be open

Declaration

cs-api-definition
public IContextMenuProvider ContextMenuProvider { get; }

Property Value

IContextMenuProvider