DxFormLayoutItem.ColSpanMd Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

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>
</DxFormLayout>

Run Demo: Form Layout - Caption Position

See Also