DevZest WPF Docking
InertButtonDropDownItemsSource Property |
Gets or sets a collection used to generate the content of the drop-down context menu.
Namespace: DevZest.Windows.Docking.Primitives
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
[BindableAttribute(true)] public IEnumerable DropDownItemsSource { get; set; }
<BindableAttribute(true)> Public Property DropDownItemsSource As IEnumerable Get Set
Property Value
Type: IEnumerableA collection that is used to generate the content of the drop-down context menu. The default is .
Remarks
You can assign a ContextMenu to DropDown property directly, or assign a collection to DropDownItemsSource
to generate a context menu, and use DropDownItemStyle property to apply a Style to the generated MenuItem.
The DropDown property takes precedence over DropDownItemsSource property.
See Also