DevZest WPF Docking
InertButton Class |
Represents a button with optional drop-down context menu.

SystemObject System.Windows.ThreadingDispatcherObject
System.WindowsDependencyObject
System.Windows.MediaVisual
System.WindowsUIElement
System.WindowsFrameworkElement
System.Windows.ControlsControl
System.Windows.ControlsContentControl
System.Windows.Controls.PrimitivesButtonBase
System.Windows.ControlsButton
DevZest.Windows.Docking.PrimitivesInertButton
System.WindowsDependencyObject
System.Windows.MediaVisual
System.WindowsUIElement
System.WindowsFrameworkElement
System.Windows.ControlsControl
System.Windows.ControlsContentControl
System.Windows.Controls.PrimitivesButtonBase
System.Windows.ControlsButton
DevZest.Windows.Docking.PrimitivesInertButton
Namespace: DevZest.Windows.Docking.Primitives
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)

The InertButton type exposes the following members.

Name | Description | |
---|---|---|
![]() | InertButton | Initializes a new instance of the InertButton class |

Name | Description | |
---|---|---|
![]() | DropDown | Gets or sets the drop-down ContextMenu. |
![]() | DropDownItemsSource | Gets or sets a collection used to generate the content of the drop-down context menu. |
![]() | DropDownItemStyle | |
![]() | IsDropDownOpen | Gets or sets a value that indicates whether the drop-down context menu is currently open. This is a dependency property. |

Name | Description | |
---|---|---|
![]() ![]() | DropDownItemsSourceProperty | Identifies the DropDownItemsSource dependency property. |
![]() ![]() | DropDownItemStyleProperty | Identifies the DropDownItemStyle dependency property. |
![]() ![]() | DropDownProperty | Identifies the DropDown dependency property. |
![]() ![]() | IsDropDownOpenProperty | Identifies the IsDropDownOpen dependency property. |

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.
