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

DxFormLayoutItem.ColSpanMd Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public int ColSpanMd { 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 ColSpanMd property to specify the number of columns for a medium screen (768px or wider).

<DxFormLayout>
    <DxFormLayoutItem ColSpanMd="4">
        ...
    </DxFormLayoutItem>
</DxFormLayoutItem>

Run Demo: Form Layout - Caption Position

See Also