ClassContextMenuDisplayingEventArgs
Encapsulates the arguments, associated with
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public class ContextMenuDisplayingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsContextMenuDisplayingEventArgs
Inherited Members
Constructors
ContextMenuDisplayingEventArgs(DockWindow, List<RadMenuItemBase>, Point)
Declaration
public ContextMenuDisplayingEventArgs(DockWindow window, List<RadMenuItemBase> items, Point displayPos)
Parameters
window
items
List<RadMenuItemBase>
displayPos
ContextMenuDisplayingEventArgs(DocumentTabStrip, List<RadMenuItemBase>, Point)
Declaration
public ContextMenuDisplayingEventArgs(DocumentTabStrip strip, List<RadMenuItemBase> items, Point displayPos)
Parameters
strip
items
List<RadMenuItemBase>
displayPos
Properties
DisplayPosition
Gets or sets the position (in screen coordinates) where the context menu will be displayed.
DockWindow
Gets the DockWindow instance, associated with the event. Valid when the MenuType is DockWindow.
DocumentStrip
Gets the DocumentTabStrip instance, associated with the event. Valid when the MenuType is ActiveWindowList.
Declaration
public DocumentTabStrip DocumentStrip { get; }
Property Value
MenuItems
Gets the List of menu items, which are about to be displayed.
Declaration
public List<RadMenuItemBase> MenuItems { get; }
Property Value
List<RadMenuItemBase>
MenuType
Gets the type of the context menu requested.
Declaration
public ContextMenuType MenuType { get; }
Property Value