Back to Devexpress

FormLayoutAdaptivitySettings.SwitchToSingleColumnAtWindowInnerWidth Property

aspnet-devexpress-dot-web-dot-formlayoutadaptivitysettings.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(0)]
public int SwitchToSingleColumnAtWindowInnerWidth { get; set; }
vb
<DefaultValue(0)>
Public Property SwitchToSingleColumnAtWindowInnerWidth As Integer

Property Value

TypeDefaultDescription
Int320

The browser inner window width in pixels.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to SwitchToSingleColumnAtWindowInnerWidth
ASP.NET MVC ExtensionsFormLayoutSettings<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

Online Demo: Form Layout - Responsive Layout

FormLayoutAdaptivitySettings Class

FormLayoutAdaptivitySettings Members

DevExpress.Web Namespace