ClassVirtualGridContextMenu
Represents the context menu of RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridContextMenu : RadDropDownMenu, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControlRadDropDownMenuVirtualGridContextMenu
Implements:
Inherited Members
Constructors
VirtualGridContextMenu(RadVirtualGridElement)
Initializes a new instance of the VirtualGridContextMenu class.
Declaration
public VirtualGridContextMenu(RadVirtualGridElement gridElement)
Parameters
gridElement
The grid element.
Properties
GridElement
Gets the grid element.
Declaration
public RadVirtualGridElement GridElement { get; }
Property Value
The grid element.
ThemeClassName
Gets or sets the class name string that ThemeResolutionService will use to find the themes registered for the control.
Declaration
public override string ThemeClassName { get; set; }
Property Value
Overrides
Remarks
By default the return value is RadControl's type FullName; Some controls like drop down menu has different ThemeClassName depending on the runtime usage of the control.
Methods
InitializeChildren()
Initializes the children.
Declaration
protected override void InitializeChildren()
Overrides
InitializeDataCellContextMenu()
Initializes the data cell context menu.
Declaration
protected virtual void InitializeDataCellContextMenu()
InitializeFilterCellContextMenu()
Initializes the filter cell context menu.
Declaration
protected virtual void InitializeFilterCellContextMenu()
InitializeHeaderCellContextMenu(VirtualGridHeaderCellElement)
Initializes the header cell context menu.
Declaration
protected virtual void InitializeHeaderCellContextMenu(VirtualGridHeaderCellElement cell)
Parameters
cell
The cell.
InitializeMenuItems(VirtualGridCellElement)
Initializes the menu items.
Declaration
public virtual void InitializeMenuItems(VirtualGridCellElement cell)
Parameters
cell
The cell.
InitializeMenuItemsText()
Initializes the menu items text.
Declaration
public void InitializeMenuItemsText()
InitializeNewRowContextMenu()
Initializes the new row context menu.
Declaration
protected virtual void InitializeNewRowContextMenu()
InitializeRowContextMenu()
Initializes the row context menu.
Declaration
protected virtual void InitializeRowContextMenu()
OnBestFitItemClick(object, EventArgs)
Called when the best fit item is clicked.
OnClearSortItemClick(object, EventArgs)
Called when the clear sort item is clicked.
OnClearValueItemClick(object, EventArgs)
Called when the clear value item is clicked.
OnCopyItemClick(object, EventArgs)
Called when the copy item is clicked.
OnCutItemClick(object, EventArgs)
Called when the cut item is clicked.
OnDeleteRowItemClick(object, EventArgs)
Called when the delete row item is clicked.
OnEditItemClick(object, EventArgs)
Called when the edit item is clicked.
OnPasteItemClick(object, EventArgs)
Called when the paste item is clicked.
OnPinAtBottomItemClick(object, EventArgs)
Called when the pin at bottom item is clicked.
OnPinAtLeftItemClick(object, EventArgs)
Called when the pin at left item is clicked.
OnPinAtRightItemClick(object, EventArgs)
Called when the pin at right item is clicked.
OnPinAtTopItemClick(object, EventArgs)
Called when the pin at top item is clicked.
OnSortAscendingItemClick(object, EventArgs)
Called when the sort ascending item is clicked.
OnSortDescendingItemClick(object, EventArgs)
Called when the sort descending item is clicked.
OnUnpinColumnItemClick(object, EventArgs)
Called when unpin column item is clicked.
OnUnpinRowItemClick(object, EventArgs)
Called when the unpin row item is clicked.