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

CustomDrawCrosshairEventArgs.CrosshairLineElement Property

Gets the settings of a crosshair line element to customize its appearance (color, line style).

Namespace: DevExpress.Xpf.Charts

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

Declaration

public CrosshairLineElement CrosshairLineElement { get; }

Property Value

Type Description
CrosshairLineElement

A CrosshairLineElement object representing the crosshair line element to custom draw.

Remarks

Use the CrosshairLineElement property to get access to the settings of either a crosshair argument line element (the CrosshairOptions.SnapMode property is set to NearestArgument) or a crosshair value line element (the CrosshairOptions.SnapMode property is set to NearestValue) when implementing the ChartControl.CustomDrawCrosshair event.

See Also