Skip to main content

DxFormLayoutTabPage.CaptionCssClass Property

Specifies the name of the CSS class applied to the tabbed layout group’s caption.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string CaptionCssClass { get; set; }

Property Value

Type Default Description
String null

The CSS class name.

Remarks

To define the appearance of the tabbed layout group’s caption, assign a CSS class name to the CaptionCssClass property.

<style>
    .my-style {
        font-style: italic;
        color: red;
    }
</style>

<DxFormLayout>
    <DxFormLayoutTabPages @bind-ActiveTabIndex="@ActiveTabIndex" >
        <DxFormLayoutTabPage Caption="Personal Information" CaptionCssClass="my-style">
            <DxFormLayoutItem Caption="First Name:" ColSpanMd="6">
                <DxTextBox @bind-Text="@FirstName" />
            </DxFormLayoutItem>
            @*...*@
        </DxFormLayoutTabPage>
        @*...*@
    </DxFormLayoutTabPages>
</DxFormLayout>

Form Layout Tabbed Group CSS Class

To customize the appearance of the layout tab page’s entire content, use the CssClass property.

For more information, see the following help topic: CSS Classes.

See Also