Class VirtualGridContextMenu
Represents the context menu of RadVirtualGrid.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridContextMenu : RadDropDownMenu, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPopupControl, IItemsControl
Constructors
VirtualGridContextMenu(RadVirtualGridElement)
Initializes a new instance of the Virtual
Declaration
public VirtualGridContextMenu(RadVirtualGridElement gridElement)
Parameters
Rad The grid element. |
Properties
GridElement
Gets the grid element.
Declaration
public RadVirtualGridElement GridElement { get; }
Property Value
Rad 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
System.
|
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
Virtual The cell. |
InitializeMenuItems(VirtualGridCellElement)
Initializes the menu items.
Declaration
public virtual void InitializeMenuItems(VirtualGridCellElement cell)
Parameters
Virtual 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.
Declaration
protected virtual void OnBestFitItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnClearSortItemClick(Object, EventArgs)
Called when the clear sort item is clicked.
Declaration
protected virtual void OnClearSortItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnClearValueItemClick(Object, EventArgs)
Called when the clear value item is clicked.
Declaration
protected virtual void OnClearValueItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnCopyItemClick(Object, EventArgs)
Called when the copy item is clicked.
Declaration
protected virtual void OnCopyItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnCutItemClick(Object, EventArgs)
Called when the cut item is clicked.
Declaration
protected virtual void OnCutItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnDeleteRowItemClick(Object, EventArgs)
Called when the delete row item is clicked.
Declaration
protected virtual void OnDeleteRowItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnEditItemClick(Object, EventArgs)
Called when the edit item is clicked.
Declaration
protected virtual void OnEditItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnPasteItemClick(Object, EventArgs)
Called when the paste item is clicked.
Declaration
protected virtual void OnPasteItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnPinAtBottomItemClick(Object, EventArgs)
Called when the pin at bottom item is clicked.
Declaration
protected virtual void OnPinAtBottomItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnPinAtLeftItemClick(Object, EventArgs)
Called when the pin at left item is clicked.
Declaration
protected virtual void OnPinAtLeftItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnPinAtRightItemClick(Object, EventArgs)
Called when the pin at right item is clicked.
Declaration
protected virtual void OnPinAtRightItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnPinAtTopItemClick(Object, EventArgs)
Called when the pin at top item is clicked.
Declaration
protected virtual void OnPinAtTopItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnSortAscendingItemClick(Object, EventArgs)
Called when the sort ascending item is clicked.
Declaration
protected virtual void OnSortAscendingItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnSortDescendingItemClick(Object, EventArgs)
Called when the sort descending item is clicked.
Declaration
protected virtual void OnSortDescendingItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnUnpinColumnItemClick(Object, EventArgs)
Called when unpin column item is clicked.
Declaration
protected virtual void OnUnpinColumnItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |
OnUnpinRowItemClick(Object, EventArgs)
Called when the unpin row item is clicked.
Declaration
protected virtual void OnUnpinRowItemClick(object sender, EventArgs e)
Parameters
System. The sender. |
System. The System. |