RadioButtonProperties.ToggleSwitchDisplayMode Property
Gets or sets a value specifying the radio button display mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
ToggleSwitchDisplayMode | One of the ToggleSwitchDisplayMode values. |
Available values:
Name | Description |
---|---|
Never | Never displays a check box as a toggle switch. |
Auto | A check box is displayed as a toggle switch on touch devices and as a regular check box - on other devices. |
Always | A check box is always displayed as a toggle switch. |
Remarks
The ToggleSwitchDisplayMode property allows specifying the radio button display mode.
- ToggleSwitchDisplayMode.Always - Displays a radio button as a toggle switch.
- ToggleSwitchDisplayMode.Auto - Displays a radio button as a toggle switch for mobile users (MacOS, Android, Windows).
- ToggleSwitchDisplayMode.Never - Never displays a radio button as a toggle switch.
See Also