Tab

FormLayoutAdaptivitySettings.AdaptivityMode Property

Specifies the form layout capability to respond to browser window resizing.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue(FormLayoutAdaptivityMode.Off)]
public FormLayoutAdaptivityMode AdaptivityMode { get; set; }

Property Value

Type Default Description
FormLayoutAdaptivityMode

Off

One of the FormLayoutAdaptivityMode enumeration values.

Available values:

Name Description
Off

Adaptivity mode is not used.

SingleColumnWindowLimit

Adaptivity mode is used. The FormLayout collapses its content from multiple columns into a single column when the browser window size is smaller than the FormLayoutAdaptivitySettings.SwitchToSingleColumnAtWindowInnerWidth property setting.

Property Paths

You can access this nested property as listed below:

Remarks

Set the AdaptivityMode property to SingleColumnWindowLimit to provide the form layout control with the capability to automatically change its layout when the browser window is resized. In this case, when the browser window inner width is less than or equal to the value specified by the FormLayoutAdaptivitySettings.SwitchToSingleColumnAtWindowInnerWidth property, c