Skip to main content
Tab

DropDownEditBaseAdaptivitySettings.SwitchToModalAtWindowInnerWidth Property

Gets or sets a value that defines the maximum browser window inner width when the dropdown switches to modal mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(575)]
public int SwitchToModalAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 575

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to SwitchToModalAtWindowInnerWidth
ASPxDropDownEditBase
.SettingsAdaptivity .SwitchToModalAtWindowInnerWidth
DropDownEditPropertiesBase
.SettingsAdaptivity .SwitchToModalAtWindowInnerWidth

Remarks

The dropdown automatically changes its display mode when the browser window is resized. When the browser window inner width is less than or equal to the value specified by the SwitchToModalAtWindowInnerWidth property, the dropdown editor is switched to modal mode.

Online Demo

Modal DropDowns

See Also