Skip to main content

DxFormLayoutTabPage.CaptionTemplate Property

Specifies the template used to display the tab page’s caption.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public RenderFragment CaptionTemplate { get; set; }

Property Value

Type Description
RenderFragment

The template content.

Remarks

Use the CaptionTemplate to apply a template for the tab page’s caption.

The following example applies a template:

<DxFormLayout>
    <DxFormLayoutTabPages>
        <DxFormLayoutTabPage>
            <CaptionTemplate>
                <em>Work Information</em>
            </CaptionTemplate>
            <Items>
                @* ... *@
            </Items>
        </DxFormLayoutTabPage>
        <DxFormLayoutTabPage Caption="Personal Information"></DxFormLayoutTabPage>
    </DxFormLayoutTabPages>
</DxFormLayout>

Form Layout Tab - CaptionTemplate

See Also