Back to Devexpress

CrosshairAxisLabelOptions.BackColor Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairaxislabeloptions-24cdf2ae.md

latest2.4 KB
Original Source

CrosshairAxisLabelOptions.BackColor Property

Gets or sets the background color of crosshair axis labels.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Color BackColor { get; set; }
vb
Public Property BackColor As Color

Property Value

TypeDescription
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 TypePath to BackColor
Axis2D

.CrosshairAxisLabelOptions .BackColor

|

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

| | --- | --- | |

|

|

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

See Also

CrosshairAxisLabelOptions Class

CrosshairAxisLabelOptions Members

DevExpress.XtraCharts Namespace