Skip to main content

DxChartSubTitle.CssClass Property

Specifies the name of a CSS class applied to a subtitle.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public string CssClass { get; set; }

Property Value

Type Description

The CSS class name.


The following code applies a custom style to a subtitle:

        font-size: 12px;
        font-family: Tahoma;
        color: blue;

<DxChart Data="@SalesData">
    <DxChartTitle Text="Weather Forecast">
        <DxChartSubTitle Text="by day" CssClass="subtitle-style"/>

Customized subtitle

Refer to CSS Classes for more information.

See Also