Back to Devexpress

AppBarToggleButton.IsChecked Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-appbartogglebutton.md

latest2.3 KB
Original Source

AppBarToggleButton.IsChecked Property

Gets or sets whether the AppBarToggleButton is checked.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool IsChecked { get; set; }
vb
Public Property IsChecked As Boolean

Property Value

TypeDescription
Boolean

true, if the AppBarToggleButton is checked; otherwise, false. Default value is false.

|

Remarks

The AppBarToggleButton is a button that supports two states: checked and unchecked, using the IsChecked property. The AppBarToggleButton is typically used to represent Boolean options. When an end-user toggles the AppBarToggleButton, its IsChecked property changes accordingly. To respond to a button click, handle the Click , AppBarToggleButton.Checked and AppBarToggleButton.Unchecked events.

You can also combine the AppBarToggleButton objects into groups of mutually exclusive toggle buttons using the AppBarToggleButton.GroupName property.

See Also

Checked

Unchecked

GroupName

AppBarToggleButton Class

AppBarToggleButton Members

DevExpress.Xpf.WindowsUI Namespace