aspnet-devexpress-dot-web-dot-formlayoutadaptivitysettings.md
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.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(0)]
public int SwitchToSingleColumnAtWindowInnerWidth { get; set; }
<DefaultValue(0)>
Public Property SwitchToSingleColumnAtWindowInnerWidth As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
The browser inner window width in pixels.
|
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
|
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
Online Demo: Form Layout - Responsive Layout
FormLayoutAdaptivitySettings Class