BarToggleSwitchItem.Checked Property
Gets or sets whether the item is checked.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v19.2.dll
Declaration
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.
Changing the check state of the toggle switch raises the BarToggleSwitchItem.CheckedChanged event.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Checked 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.