InertButton Class

DevZest WPF Docking

InertButton Class
Represents a button with optional drop-down context menu.
Inheritance Hierarchy
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

Namespace: DevZest.Windows.Docking.Primitives
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
public class InertButton : Button
Public Class InertButton
	Inherits Button

The InertButton type exposes the following members.

Constructors
  NameDescription
Public methodInertButton
Initializes a new instance of the InertButton class
Top
Properties
  NameDescription
Public propertyDropDown
Gets or sets the drop-down ContextMenu.
Public propertyDropDownItemsSource
Gets or sets a collection used to generate the content of the drop-down context menu.
Public propertyDropDownItemStyle
Gets or sets the Style that is applied to the MenuItem of generated drop-down ContextMenu.
Public propertyIsDropDownOpen
Gets or sets a value that indicates whether the drop-down context menu is currently open. This is a dependency property.
Top
Fields
  NameDescription
Public fieldStatic memberDropDownItemsSourceProperty
Identifies the DropDownItemsSource dependency property.
Public fieldStatic memberDropDownItemStyleProperty
Identifies the DropDownItemStyle dependency property.
Public fieldStatic memberDropDownProperty
Identifies the DropDown dependency property.
Public fieldStatic memberIsDropDownOpenProperty
Identifies the IsDropDownOpen dependency property.
Top
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