Interface IContextMenuManager
This interface provides methods for managing context menus in GridVisualElement.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public interface IContextMenuManager
Properties
ContextMenu
The current context menu
Declaration
RadDropDownMenu ContextMenu { get; }
Property Value
RadDropDownMenu
|
RootElement
Gets the associated GridVisualElement instance.
Declaration
RadGridViewElement RootElement { get; }
Property Value
RadGridViewElement
|
Methods
HideContextMenu()
Hides the context menu.
Declaration
void HideContextMenu()
ShowContextMenu(IContextMenuProvider)
Shows a context menu.
Declaration
bool ShowContextMenu(IContextMenuProvider contextMenuProvider)
Parameters
IContextMenuProvider
contextMenuProvider
The context menu provider. |
Returns
System.Boolean
Returns true if successful. |
ShowContextMenu(IContextMenuProvider, Point)
Shows a context menu.
Declaration
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. |