Skip to main content

CrosshairAxisLabelElement.BackColor Property

Gets or sets the background color of a crosshair axis label element.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public Color BackColor { get; set; }

Property Value

Type Description
Color

A Color value which specifies the crosshair axis label element’s background color.

Remarks

Use the BackColor property, to define the appearance of a crosshair axis label in the ChartControl.CustomDrawCrosshair event handler.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also