Bar

BarToggleSwitchItem.BindableChecked Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll

Declaration

[DefaultValue(false)]
[Bindable(true)]
[Browsable(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