Skip to main content
Bar

BarCheckItem.IsChecked Property

Gets or sets whether the item is in the pushed state. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool? IsChecked { get; set; }

Property Value

Type Description
Nullable<Boolean>

true if the item is in the pushed state; otherwise, false.

Remarks

Use the IsChecked property to specify the item’s check state. By default, a bar check item has two states - Checked and Unchecked. If the BarCheckItem.IsThreeState option is enabled, the item supports three states: Checked, Unchecked and Indeterminate.

Changing the IsChecked property fires the BarCheckItem.CheckedChanged event.

The following code snippets (auto-collected from DevExpress Examples) contain references 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