DxFormLayoutTabPage.CaptionCssClass Property
Specifies the name of the CSS class applied to the tabbed 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 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>
For more information, see the following help topic: CSS Classes.
See Also