ClassContextMenuOpeningEventArgs
Provides data for the ContextMenuOpening event
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ContextMenuOpeningEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsContextMenuOpeningEventArgs
Inherited Members
Constructors
ContextMenuOpeningEventArgs(IContextMenuProvider, RadDropDownMenu)
Initializes a new instance of the GridViewRowEventArgs class.
Declaration
public ContextMenuOpeningEventArgs(IContextMenuProvider provider, RadDropDownMenu contextMenu)
Parameters
provider
the element for which the context menu will be open
contextMenu
the context menu which is associated with this provider
ContextMenuOpeningEventArgs(IContextMenuProvider, RadDropDownMenu, bool)
Initializes a new instance of the GridViewRowEventArgs class.
Declaration
public ContextMenuOpeningEventArgs(IContextMenuProvider provider, RadDropDownMenu contextMenu, bool cancel)
Parameters
provider
the element for which the context menu will be open
contextMenu
the context menu which is associated with this provider
cancel
a value indicating whether to cancel the event
Properties
ContextMenu
Gets or sets the context menu which is associated with this provider
Declaration
public RadDropDownMenu ContextMenu { get; set; }
Property Value
ContextMenuProvider
Gets the element for which the context menu will be open
Declaration
public IContextMenuProvider ContextMenuProvider { get; }
Property Value