Skip to main content
A newer version of this page is available. .

FormLayoutItemBase.ColSpanXs Property

Specifies the number of columns an item, group, or tab pages occupies on extra small screens (less than 576px).

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Description
Int32

The number of columns.

Remarks

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

This component uses the Bootstrap grid system markup: each layout item occupies between 1 and 12 virtual columns. Use the ColSpanXs property to specify the number of columns for screens that are smaller than 576px.

<DxFormLayout>
    <DxFormLayoutGroup ColSpanXs="4">
        ...
    </DxFormLayoutGroup>
</DxFormLayout>

If you do not specify the ColSpanXs, ColSpanSm, ColSpanLg, or ColSpanXl property, the item, group, tab, or tab page occupies 6 virtual Bootstrap columns.

See Also