SplitButton Class

Definition

Represents the split button.

public ref class SplitButton : System::Windows::Controls::Primitives::ToggleButton
[System.Windows.TemplatePart(Name="PART_Button", Type=typeof(System.Windows.Controls.Primitives.ButtonBase))]
public class SplitButton : System.Windows.Controls.Primitives.ToggleButton
[<System.Windows.TemplatePart(Name="PART_Button", Type=typeof(System.Windows.Controls.Primitives.ButtonBase))>]
type SplitButton = class
    inherit ToggleButton
Public Class SplitButton
Inherits ToggleButton
Inheritance
SplitButton
Attributes

Constructors

SplitButton()

Initializes a new instance of the SplitButton class.

Fields

DropDownButtonCommandProperty

Specifies the drop down button dependency property.

DropDownContextMenuProperty

Specifies the dropdown context menu property.

ImageProperty

Specifies the image property.

MainButtonCommandProperty

Specifies the main button command property.

TargetProperty

Specifies the target.

TextProperty

Properties

DropDownButtonCommand

Gets or sets the dropdown button command.

DropDownContextMenu

Gets or sets the dropdown context menu.

Image

Gets or sets the image.

MainButtonCommand

Gets or sets the main button command.

Target

Gets or sets the target.

Text

Methods

OnApplyTemplate()
OnClick()

Raised when the button is clicked.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Raised when the property is changed.

Applies to