Skip to main content
Bar

BarToggleSwitchItem.BindableChecked Property

An equivalent of the BarToggleSwitchItem.Checked property, used exclusively for data bindings.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Bindable(true)]
[Browsable(false)]
[DefaultValue(false)]
public virtual bool BindableChecked { get; set; }

Property Value

Type Default Description
Boolean false

true if the BarToggleSwitchItem is checked; otherwise, false.

Remarks

The BindableChecked property is used instead of the BarToggleSwitchItem.Checked property when binding BarToggleSwitchItems via the BarItem.DataBindings collection.

Whenever the BindableChecked property changes its value, the BarToggleSwitchItem.BindableCheckedChanged event fires.

See Also