Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.29 KB

File metadata and controls

55 lines (35 loc) · 1.29 KB

ExpanderToggleButton

A toggle button that is typically used to expand/contract an area of the UI.

Namespace: Metrolib.Controls
Assembly: Metrolib (in Metrolib.dll)

public class ExpanderToggleButton : System.Windows.Controls.Primitives.ToggleButton

Inheritance Object -> DispatcherObject -> DependencyObject -> Visual -> UIElement -> FrameworkElement -> Control -> ContentControl -> ButtonBase -> ToggleButton -> ExpanderToggleButton

Unfocused

<Metrolib:ExpanderToggleButton />

Image of ExpanderToggleButton, Unfocused

Checked

<Metrolib:ExpanderToggleButton IsChecked="True" />

Image of ExpanderToggleButton, Checked

Disabled

<Metrolib:ExpanderToggleButton IsEnabled="False" />

Image of ExpanderToggleButton, Disabled

Disabled Checked

<Metrolib:ExpanderToggleButton IsEnabled="False" />

Image of ExpanderToggleButton, Disabled Checked

Properties

IconHeight: System.Double
The height of the icon.

InvertedForeground: System.Windows.Media.Brush
The foreground color, used when IsInvertedProperty is set to true.

Orientation: System.Windows.Controls.Orientation
The orientation of the button, defaults to Horizontal.