DockingMenuEventArgs Class
Provides event arguments for customizing a docking-related context or drop-down menu.
public class DockingMenuEventArgs : DockingWindowEventArgs
- Inheritance:
- System.Object System.EventArgs System.Windows.RoutedEventArgs CancelRoutedEventArgs DockingWindowEventArgs Object
Constructors
DockingMenuEventArgs(DockingMenuKind)
Initializes a new instance of the DockingMenuEventArgs class.
public DockingMenuEventArgs(DockingMenuKind kind)
Parameter | Type | Description |
---|---|---|
kind | DockingMenuKind | A DockingMenuKind indicating the menu kind. |
Properties
Kind
Gets a DockingMenuKind indicating the menu kind.
public DockingMenuKind Kind { get; }
Property Value
- DockingMenuKind:
A DockingMenuKind indicating the menu kind.
Menu
Gets or sets the System.Windows.Controls.ContextMenu that is about to be displayed.
public ContextMenu Menu { get; set; }
Property Value
- System.Windows.Controls.ContextMenu:
The System.Windows.Controls.ContextMenu that is about to be displayed.
Inherited Members
- DockingWindowEventArgs.Window
- CancelRoutedEventArgs.Cancel
- System.EventArgs.Empty
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()