BarToggleSwitchItem Class
A bar item with toggle switch functionality.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Related API Members
The following members return BarToggleSwitchItem objects:
Remarks
BarToggleSwitchItem
is a bar item that displays a toggle switch button.
The bar item link for a BarToggleSwitchItem
is a BarToggleSwitchItemLink.
Main Settings
API | Description |
---|---|
Specifies the item’s check state. | |
Handle this event to respond to check state changes. | |
Specifies item text. | |
Gives access to options that specify an item image. | |
Specifies the width ratio between the toggle switch editor and its thumb. | |
Specifies appearance settings for the item in different states. |
Important
If you create a bar item in code, associate the bar item with the BarManager or RibbonControl.
Use the constructor with the BarManager
parameter. To display the bar item within the Ribbon Control, pass the RibbonControl.Manager object as the BarManager
parameter.