Class DropDownButton
Implements a button that is used to display a ContextMenuEx when the user clicks on it (see templates for LayoutAnchorableFloatingWindowControl, AnchorablePaneTitle, and LayoutDocumentPaneControl).
public class DropDownButton : FontIconToggleButton, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ICommandSource
- Inheritance
-
DropDownButton
- Implements
- Inherited Members
- Extension Methods
Constructors
DropDownButton()
public DropDownButton()
Fields
DropDownContextMenuDataContextProperty
DropDownContextMenuDataContext dependency property.
public static readonly DependencyProperty DropDownContextMenuDataContextProperty
Field Value
DropDownContextMenuProperty
DropDownContextMenu dependency property.
public static readonly DependencyProperty DropDownContextMenuProperty
Field Value
Properties
DropDownContextMenu
Gets/sets the drop down menu to show up when user click on an anchorable menu pin.
[Bindable(true)]
public ContextMenu DropDownContextMenu { get; set; }
Property Value
DropDownContextMenuDataContext
Gets/sets the DataContext to set for the DropDownContext menu property.
[Bindable(true)]
public object DropDownContextMenuDataContext { get; set; }
Property Value
Methods
OnClick()
Called when a control is clicked by the mouse or the keyboard.
protected override void OnClick()
OnDropDownContextMenuChanged(DependencyPropertyChangedEventArgs)
Provides derived classes an opportunity to handle changes to the DropDownContextMenu property.
protected virtual void OnDropDownContextMenuChanged(DependencyPropertyChangedEventArgs e)