Skip to main content

CrosshairAxisLabelOptions.BackColor Property

Gets or sets the background color of crosshair axis labels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public Color BackColor { get; set; }

Property Value

Type Description
Color

A Color value which represents the background color of crosshair axis labels.

Property Paths

You can access this nested property as listed below:

Object Type Path to BackColor
Axis2D

Remarks

Note that if the BackColor property is set to Empty, the background color is obtained from the current appearance (specified via the ChartControl.AppearanceName property).

The following images demonstrate the BackColor property in action for the Y-axis.

BackColor isn’t defined

(the default value)

BackColor = Color.DarkSeaGreen

CrosshairAxisLabelsBackColor_Default

CrosshairAxisLabelsBackColor_DarkSeaGreen

For more information on customizing the crosshair cursor, refer to Tooltip and Crosshair Cursor.

See Also