DxChartTitle.CssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public string CssClass { get; set; }

Property Value

Type Description
String

A cascading style sheet class’s name.

Remarks

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="Sales amount" CssClass="test-title" />
    ...
</DxChart>

Refer to CSS Classes for more information.

See Also