Skip to main content
All docs
V21.1

FormLayoutGroupBase.Caption Property

Specifies a Form Layout group, tab page, or tab caption.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string Caption { get; set; }

Property Value

Type Description
String

A string object that specifies the caption.

Remarks

A caption is a short description or explanation. You can specify a caption for a group, tab page, or tab:

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

Group captions

To specify a custom layout for a group header, use the HeaderTemplate property.

Run Demo: Form Layout - Groups

See Also