Skip to main content

CrosshairLineElement.Color Property

Specifies the crosshair line element’s color.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public Color Color { get; set; }

Property Value

Type Description
Color

A Color structure, specifying the color of the crosshair line element.

Remarks

Use the Color property to color the crosshair line item in the ChartControl.CustomDrawCrosshair event handler.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Color 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