Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FormLayoutItemBase.BeginRow Property

Specifies whether a Form Layout group, tab pages container, or item starts a new row.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(false)]
[Parameter]
public bool BeginRow { get; set; }

#Property Value

Type Default Description
Boolean false

true if the layout group, tab page, or tab starts a new row; otherwise, false.

#Remarks

All layout elements are rendered in a single container. A layout element moves to the next row if there is not enough space in the current row. Use the BeginRow property to explicitly indicate that the layout element should be placed in a new row.

Razor
<DxFormLayout>
    <DxFormLayoutGroup Caption="Personal Information">
        <DxFormLayoutItem Caption="First Name:" ColSpanMd="6">
           @* ... *@
        </DxFormLayoutItem>
        @* ... *@
    </DxFormLayoutGroup>
    <DxFormLayoutGroup Caption="Work Information" BeginRow="true">
        <DxFormLayoutItem Caption="Position:" ColSpanMd="6">
           @* ... *@
        </DxFormLayoutItem>
        @* ... *@
    </DxFormLayoutGroup>
</DxFormLayout>

A group starts a new row

Run Demo: Form Layout - Groups

See Also