Class GridViewContextMenuManager
Manages the context menus in GridVisualElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewContextMenuManager : IContextMenuManager, IGridViewEventListener, IDisposable
Constructors
GridViewContextMenuManager(RadGridViewElement)
Initializes a new instance of the ColumnChooserForm class.
Declaration
public GridViewContextMenuManager(RadGridViewElement rootElement)
Parameters
RadGridViewElement
rootElement
The RadGridViewElement object, associated with this manager. |
Properties
ContextMenu
The current context menu
Declaration
public virtual RadDropDownMenu ContextMenu { get; }
Property Value
RadDropDownMenu
|
Implements
RootElement
Gets the associated GridVisualElement instance.
Declaration
public virtual RadGridViewElement RootElement { get; }
Property Value
RadGridViewElement
|
Implements
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
HideContextMenu()
Hides the context menu.
Declaration
public virtual void HideContextMenu()
Implements
ProcessCurrentChanged(GridViewEvent)
Processes the current changed.
Declaration
protected virtual GridViewEventResult ProcessCurrentChanged(GridViewEvent eventData)
Parameters
GridViewEvent
eventData
The event data. |
Returns
GridViewEventResult
|
ShowContextMenu(IContextMenuProvider)
Shows a context menu.
Declaration
public virtual bool ShowContextMenu(IContextMenuProvider contextMenuProvider)
Parameters
IContextMenuProvider
contextMenuProvider
The context menu provider. |
Returns
System.Boolean
Returns true if successful. |
Implements
ShowContextMenu(IContextMenuProvider, Point)
Shows a context menu.
Declaration
public virtual bool ShowContextMenu(IContextMenuProvider contextMenuProvider, Point location)
Parameters
IContextMenuProvider
contextMenuProvider
The context menu provider. |
System.Drawing.Point
location
The location in control's coordinates. |
Returns
System.Boolean
Returns true if successful. |
Implements
Explicit Interface Implementations
IGridViewEventListener.AnalyzeQueue(List<GridViewEvent>)
Declaration
bool IGridViewEventListener.AnalyzeQueue(List<GridViewEvent> events)
Parameters
System.Collections.Generic.List<GridViewEvent>
events
|
Returns
System.Boolean
|
Implements
IGridViewEventListener.DesiredEvents
Declaration
GridEventType IGridViewEventListener.DesiredEvents { get; }
Returns
GridEventType
|
Implements
IGridViewEventListener.DesiredProcessMode
Declaration
GridEventProcessMode IGridViewEventListener.DesiredProcessMode { get; }
Returns
GridEventProcessMode
|
Implements
IGridViewEventListener.PostProcessEvent(GridViewEvent)
Declaration
GridViewEventResult IGridViewEventListener.PostProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent
eventData
|
Returns
GridViewEventResult
|
Implements
IGridViewEventListener.PreProcessEvent(GridViewEvent)
Declaration
GridViewEventResult IGridViewEventListener.PreProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent
eventData
|
Returns
GridViewEventResult
|
Implements
IGridViewEventListener.Priority
Declaration
EventListenerPriority IGridViewEventListener.Priority { get; }
Returns
EventListenerPriority
|
Implements
IGridViewEventListener.ProcessEvent(GridViewEvent)
Declaration
GridViewEventResult IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent
eventData
|
Returns
GridViewEventResult
|