DxFormLayoutGroup.CaptionCssClass Property
Specifies the name of the CSS class applied to the layout group’s caption.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v21.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string CaptionCssClass { get; set; }
Property Value
Type | Description |
---|---|
String | The CSS class name. |
Remarks
To define the appearance of the layout group’s caption, assign a CSS class name to the CaptionCssClass property.
<style>
.my-style {
font-style: italic;
color: red;
}
</style>
<DxFormLayout>
<DxFormLayoutGroup Caption="Personal Information" ColSpanMd="6" CaptionCssClass="my-style">
<DxFormLayoutItem Caption="First Name:" ColSpanMd="12">
<DxTextBox @bind-Text="@FirstName" />
</DxFormLayoutItem>
@*...*@
</DxFormLayoutGroup>
@*...*@
</DxFormLayout>
For more information, refer to the following help topic: CSS Classes.
See Also