Back to Devexpress

DxFormLayoutTabPage.CaptionTemplate Property

blazor-devexpress-dot-blazor-dot-dxformlayouttabpage.md

latest1.5 KB
Original Source

DxFormLayoutTabPage.CaptionTemplate Property

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
RenderFragment

The template content.

|

Remarks

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

The following example applies a template:

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

See Also

DxFormLayoutTabPage Class

DxFormLayoutTabPage Members

DevExpress.Blazor Namespace