Skip to main content
Tab

CheckBoxProperties.ToggleSwitchDisplayMode Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v26.1.dll

Declaration

[DefaultValue(ToggleSwitchDisplayMode.Never)]
public 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.

Run Demo: ASPxCheckBox - Features

See Also