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