Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

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
Axis2D
Axis3DBase

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