Skip to main content

DxChartAxisTitle.CssClass Property

Specifies the name of a CSS class applied to an axis title.

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 shows how to apply a custom style to an axis title:

    .custom-style {
        color: #1B3580;
        font-style: italic;

<DxChart Data="@WeatherForecasts">
        <DxChartAxisTitle Text="Date" HorizontalAlignment="HorizontalAlignment.Left" CssClass="custom-style"/>

Customized axis title

Refer to CSS Classes for more information.

See Also