CrosshairElementBase.LineElement Property

Returns the Crosshair Cursor's line element to change its settings when using the ChartControl.CustomDrawCrosshair event to modify the Crosshair's appearance.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


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

Property Value

Type Description

The crosshair line element.


To display crosshair lines, use the CrosshairOptions.ShowArgumentLine and CrosshairOptions.ShowValueLine properties. Use the ChartControl.CrosshairOptions property to access the crosshair settings.

See Also