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 VirtualGridContextMenu class.
Declaration
public VirtualGridContextMenu(RadVirtualGridElement gridElement)
Parameters
RadVirtualGridElement
gridElement
The grid element. |
Properties
GridElement
Gets the grid element.
Declaration
public RadVirtualGridElement GridElement { get; }
Property Value
RadVirtualGridElement
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.String
|
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
VirtualGridHeaderCellElement
cell
The cell. |
InitializeMenuItems(VirtualGridCellElement)
Initializes the menu items.
Declaration
public virtual void InitializeMenuItems(VirtualGridCellElement cell)
Parameters
VirtualGridCellElement
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.
Declaration
protected virtual void OnBestFitItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnClearSortItemClick(Object, EventArgs)
Called when the clear sort item is clicked.
Declaration
protected virtual void OnClearSortItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnClearValueItemClick(Object, EventArgs)
Called when the clear value item is clicked.
Declaration
protected virtual void OnClearValueItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnCopyItemClick(Object, EventArgs)
Called when the copy item is clicked.
Declaration
protected virtual void OnCopyItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnCutItemClick(Object, EventArgs)
Called when the cut item is clicked.
Declaration
protected virtual void OnCutItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnDeleteRowItemClick(Object, EventArgs)
Called when the delete row item is clicked.
Declaration
protected virtual void OnDeleteRowItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnEditItemClick(Object, EventArgs)
Called when the edit item is clicked.
Declaration
protected virtual void OnEditItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnPasteItemClick(Object, EventArgs)
Called when the paste item is clicked.
Declaration
protected virtual void OnPasteItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnPinAtBottomItemClick(Object, EventArgs)
Called when the pin at bottom item is clicked.
Declaration
protected virtual void OnPinAtBottomItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnPinAtLeftItemClick(Object, EventArgs)
Called when the pin at left item is clicked.
Declaration
protected virtual void OnPinAtLeftItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnPinAtRightItemClick(Object, EventArgs)
Called when the pin at right item is clicked.
Declaration
protected virtual void OnPinAtRightItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnPinAtTopItemClick(Object, EventArgs)
Called when the pin at top item is clicked.
Declaration
protected virtual void OnPinAtTopItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnSortAscendingItemClick(Object, EventArgs)
Called when the sort ascending item is clicked.
Declaration
protected virtual void OnSortAscendingItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnSortDescendingItemClick(Object, EventArgs)
Called when the sort descending item is clicked.
Declaration
protected virtual void OnSortDescendingItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnUnpinColumnItemClick(Object, EventArgs)
Called when unpin column item is clicked.
Declaration
protected virtual void OnUnpinColumnItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnUnpinRowItemClick(Object, EventArgs)
Called when the unpin row item is clicked.
Declaration
protected virtual void OnUnpinRowItemClick(object sender, EventArgs e)
Parameters
System.Object
sender
The sender. |
System.EventArgs
e
The System.EventArgs instance containing the event data. |