BinaryRibbonSplitButtonControl
A custom dro-down button control that provides two split areas of display - one for the button content, and the other (typically at the bottom location) for drop-down menu with more options (usually commands).
public class BinaryRibbonSplitButtonControl : BinaryRibbonDropDownButton, IBinaryRibbonKeyTipControl
Inherits from / implements: BinaryRibbonDropDownButton, IBinaryRibbonKeyTipControl
Members at a glance
ClickMode | Gets or sets the click mode. |
OnApplyTemplate | Called when the template's tree is generated. |
OnMouseLeftButtonDown | Raises the MouseLeftButtonDown event. BinaryRibbonSplitButtonControl overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeftButtonUp | Raises the MouseLeftButtonUp event. BinaryRibbonSplitButtonControl overrides it so the control's own handling runs alongside the base behavior. |
SwitchState | Toggles the drop-down half of the split button. The click half is left alone, so pressing the button runs its command rather than opening the menu. |
ClickModeProperty | ClickModeProperty property. |
Properties
ClickMode
Gets or sets the click mode.
Value. The click mode.
Methods
OnApplyTemplate
Called when the template's tree is generated.
OnMouseLeftButtonDown
Raises the MouseLeftButtonDown event. BinaryRibbonSplitButtonControl overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseLeftButtonUp
Raises the MouseLeftButtonUp event. BinaryRibbonSplitButtonControl overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
SwitchState
Toggles the drop-down half of the split button. The click half is left alone, so pressing the button runs its command rather than opening the menu.
Fields
ClickModeProperty
ClickModeProperty property.