New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the ContextMenuOpening event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridContextMenuOpeningEventArgs : VirtualGridCellEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridCellEventArgsVirtualGridContextMenuOpeningEventArgs

Inherited Members VirtualGridCellEventArgs.RowIndexVirtualGridCellEventArgs.ColumnIndexVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridContextMenuOpeningEventArgs class.

C#
public VirtualGridContextMenuOpeningEventArgs(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo, RadDropDownMenu contextMenu)
Parameters:rowIndexint

Index of the row.

columnIndexint

Index of the column.

viewInfoVirtualGridViewInfo

The view info.

contextMenuRadDropDownMenu

The context menu.

Properties

Gets or sets a value indicating whether the event is canceled.

C#
public bool Cancel { get; set; }

Gets or sets the context menu.

C#
public RadDropDownMenu ContextMenu { get; set; }