Skip to main content
A newer version of this page is available.
All docs
V20.2

DxFormLayoutGroup.ColSpanSm Property

Specifies the number of columns a layout item occupies on small screens (576px or wider).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public int ColSpanSm { get; set; }

Property Value

Type Description
Int32

The number of columns.

Remarks

The Form Layout allows you to create responsive and automatically-aligned edit forms.

The Form Layout component uses the Bootstrap grid system markup: each layout item occupies between 1 and 12 virtual columns. Use the ColSpanSm property to specify the number of columns for a small screen (576px or wider).

<DxFormLayout>
    <DxFormLayoutGroup ColSpanSm="4">
        ...
    </DxFormLayoutGroup>
</DxFormLayoutGroup>
See Also