Skip to main content
Tab

FormLayoutAdaptivitySettings.SwitchToSingleColumnAtWindowInnerWidth Property

Gets or sets a value that defines the maximum browser window inner width when the form layout collapses its content when rendered.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int SwitchToSingleColumnAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 0

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SwitchToSingleColumnAtWindowInnerWidth
ASP.NET MVC Extensions FormLayoutSettings<ModelType>
.SettingsAdaptivity .SwitchToSingleColumnAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxFormLayout
.SettingsAdaptivity .SwitchToSingleColumnAtWindowInnerWidth
FormLayoutProperties
.SettingsAdaptivity .SwitchToSingleColumnAtWindowInnerWidth

Remarks

When adaptive mode is enabled (the FormLayoutAdaptivitySettings.AdaptivityMode property is set to SingleColumnWindowLimit), the form layout control automatically changes its layout when the browser window is resized. When the browser window inner width is less than or equal to the value specified by the SwitchToSingleColumnAtWindowInnerWidth property, control content is reordered into one column. The editor captions are displayed above or below the editor (based on the initial position).

See Also