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.v14.2.dll

#Declaration

[XtraSerializableProperty]
[TypeConverter(typeof(NullableBoolConverter))]
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.

See Also