windowsforms-devexpress-dot-xtrabars-92845c04.md
A bar item with toggle switch functionality.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public class BarToggleSwitchItem :
BarItem,
ISupportCommandBinding,
ISupportUICommand
Public Class BarToggleSwitchItem
Inherits BarItem
Implements ISupportCommandBinding,
ISupportUICommand
The following members return BarToggleSwitchItem objects:
BarToggleSwitchItem is a bar item that displays a toggle switch button.
The bar item link for a BarToggleSwitchItem is a BarToggleSwitchItemLink.
|
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.
Object MarshalByRefObject Component BarItem BarToggleSwitchItem
See Also