Share via


ExpanderButton Class

Definition

Represents a toggle button used to expand or collapse elements.

public ref class ExpanderButton : System::Windows::Controls::Primitives::ToggleButton
public class ExpanderButton : System.Windows.Controls.Primitives.ToggleButton
type ExpanderButton = class
    inherit ToggleButton
Public Class ExpanderButton
Inherits ToggleButton
Inheritance
ExpanderButton
Derived

Constructors

ExpanderButton()

Initializes a new instance of the ExpanderButton class.

Properties

CollapseToolTip

Tooltip to show to collapse.

ExpandToolTip

Tooltip to show to expand.

Methods

OnCreateAutomationPeer()

Create an instance of the AutomationPeer.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Called when it has keyboard focus.

OnIsCheckedChanged(DependencyPropertyChangedEventArgs)

Called when the IsChecked property changes.

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Called when it lost keyboard focus.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this ExpanderButton has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(DependencyPropertyChangedEventArgs).

Applies to