4.938 ToggleButton

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ContentControl > ButtonBase > ToggleButton, IInputElement
ToggleButton
CheckBox RadioButton RibbonToggleButton
(usage)
<ToggleButton> x:Object </ToggleButton>
(description)
Base type for controls that can switch states, such as CheckBox.
[content property]
Content
[name property]
Name
[xml lang property]
Language
(properties)
IsChecked
x:Nullable(x:Boolean)
(description)
Whether the ToggleButton is checked.
IsThreeState
x:Boolean
(description)
Determines whether the control supports two or three states.
(events)
Checked
Occurs when a ToggleButton is checked.
Indeterminate
Occurs when the state of a ToggleButton is neither on nor off.
Unchecked
Occurs when a ToggleButton is unchecked.