A newer version of this page is available.
Switch to the current version.
ASPxCheckBox.ToggleSwitchDisplayMode Property
Gets or sets a value specifying the check box display mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue(ToggleSwitchDisplayMode.Never)]
public virtual ToggleSwitchDisplayMode ToggleSwitchDisplayMode { get; set; }
<DefaultValue(ToggleSwitchDisplayMode.Never)>
Public Overridable Property ToggleSwitchDisplayMode As ToggleSwitchDisplayMode
Property Value
Type | Default | Description |
---|---|---|
ToggleSwitchDisplayMode | Never |
One of the ToggleSwitchDisplayMode values. |
Remarks
The ToggleSwitchDisplayMode property allows specifying the check box display mode.
- ToggleSwitchDisplayMode.Always - Displays a check box as a toggle switch.
- ToggleSwitchDisplayMode.Auto - Displays a check box as a toggle switch for mobile users (MacOS, Android, Windows).
- ToggleSwitchDisplayMode.Never - Never displays a check box as a toggle switch.
NOTE
Online Demos Refer to the ASPxCheckBox - Features (Web Forms) online demo to review how the ASPxCheckBox operates in toggle switch mode.
See Also
Feedback