Skip to main content
A newer version of this page is available. .

CrosshairAxisLabelOptions.Foreground Property

Gets or sets the brush used to paint the foreground of crosshair axis labels.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public Brush Foreground { get; set; }

Property Value

Type Description
Brush

A Brush object used to paint the foreground of crosshair axis labels.

Property Paths

You can access this nested property as listed below:

Object Type Path to Foreground
ArgumentAxis3D
Axis2D
Axis3DBase
AxisX2D
AxisY2D
SecondaryAxisX2D
SecondaryAxisY2D
XAxis3D
YAxis3D
ZAxis3D

Remarks

Use the Foreground property to paint the foreground of both the crosshair argument labels and crosshair value labels.

Before using the Foreground property, make sure the ChartControlBase.CrosshairEnabled property is set to true.

For more information, refer to Tooltip and Crosshair Cursor.

See Also