DxChartSubTitle.CssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public string CssClass { get; set; }

Property Value

Type Description

The CSS class name.


The following code shows how to apply a custom style to a subtitle:

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

<DxChart Data="@SalesData">
    <DxChartTitle Text="Sales amount">
        <DxChartSubTitle Text="by cities" CssClass="subtitle-style"/>

Refer to CSS Classes for more information.

See Also