Skip to main content
A newer version of this page is available. .

AppBarToggleButton.IsChecked Property

Gets or sets whether the AppBarToggleButton is checked.

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

public bool IsChecked { get; set; }

Property Value

Type Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsChecked property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also