Skip to main content

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

NuGet Package: DevExpress.Wpf.Charts

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