Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarToggleSwitchItem.Checked Property

Gets or sets whether the item is checked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Bindable(false)]
[DefaultValue(false)]
public bool Checked { get; set; }

#Property Value

Type Default Description
Boolean false

true if the item is checked; otherwise, false.

#Remarks

Use the Checked property to specify the check state of the toggle switch (checked or unchecked). When this property’s value is true, the toggle is turned right. The following images show the toggle switch turned on (checked) and off (unchecked), respectively.

BarToggleSwitchItem_On BarToggleSwitchItem_Off

Changing the check state of the toggle switch raises the BarToggleSwitchItem.CheckedChanged event.

See Also