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