Tab

ASPxCheckBox.ToggleSwitchDisplayMode Property

Gets or sets a value specifying the check box display mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue(ToggleSwitchDisplayMode.Never)]
public virtual ToggleSwitchDisplayMode ToggleSwitchDisplayMode { get; set; }

Property Value

Type Default Description
ToggleSwitchDisplayMode

Never

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 check box display mode.

NOTE

Online Demos Refer to the ASPxCheckBox - Features (Web Forms) online demo to review how the ASPxCheckBox operates in toggle switch mode.

See Also