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

Declaration

public CrosshairLineElement CrosshairLineElement { get; }
Public ReadOnly Property CrosshairLineElement As CrosshairLineElement

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