In This Article

SettingsExpanderToggleButton Class

Defines a ToggleButton to be used with a SettingsExpander.

public class SettingsExpanderToggleButton : ToggleButton
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl ButtonBase ToggleButton object

Constructors

SettingsExpanderToggleButton()

Initializes an instance of the class.

public SettingsExpanderToggleButton()

Methods

OnKeyDown(KeyEventArgs)

Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus.

protected override void OnKeyDown(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The event data.

OnKeyUp(KeyEventArgs)

Provides class handling for the KeyUp routed event that occurs when the user releases a key while this control has focus.

protected override void OnKeyUp(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The event data for the KeyUp event.