DockItem.TabContextMenu Property

DevZest WPF Docking

DockItemTabContextMenu Property
Gets or sets the DockItem object's context menu to display for the tab. This is a dependency property.

Namespace: DevZest.Windows.Docking
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
public ContextMenu TabContextMenu { get; set; }
Public Property TabContextMenu As ContextMenu
	Get
	Set

Property Value

Type: ContextMenu
An ContextMenu object that represents the context menu to display for the tab.
Remarks
When setting TabContextMenu property, the ContextMenu object's DataContext property is set to the owner DockItem. This is useful when you want data binding to the owner DockItem or its properties from the ContextMenu or its descendant elements.
See Also