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