Skip to main content

DxFormLayoutGroup.CaptionCssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public string CaptionCssClass { get; set; }

Property Value

Type Default Description
String null

The CSS class name.


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

    .my-style {
        font-style: italic;
        color: red;

    <DxFormLayoutGroup Caption="Personal Information" ColSpanMd="6" CaptionCssClass="my-style">
        <DxFormLayoutItem Caption="First Name:" ColSpanMd="12">
            <DxTextBox @bind-Text="@FirstName" />

Form Layout Group CSS Class

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

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

See Also