Skip to main content

DxChartTitle.CssClass Property

Specifies the name of a CSS class applied to a chart title.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public string CssClass { get; set; }

Property Value

Type Description

A cascading style sheet class’s name.


Assign the required CSS class name to the CssClass property value to define the chart title’s appearance using cascading style sheets.

<DxChart Data="@SalesData">
    <DxChartTitle Text="Weather Forecast" CssClass="test-title" />
    @* ... *@

Customized title

Refer to CSS Classes for more information.

See Also