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

CrosshairOptions.LinesMode Property

Gets or sets the value specifying how the Crosshair Cursor’s lines snap to points when hovering on them.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

[XtraSerializableProperty]
public CrosshairLinesMode LinesMode { get; set; }

Property Value

Type Description
CrosshairLinesMode

The enumeration value that specifies how lines snap.

Available values:

Name Description
Auto

The Crosshair Cursor lines positions are specified by point arguments or values (This depends on the CrosshairOptions.SnapMode property value).

auto-lines-mode

Free

The Crosshair Cursor’s lines do not snap to points that the Crosshair highlights.

free-lines-mode

Property Paths

You can access this nested property as listed below:

Library Object Type Path to LinesMode
WinForms Controls ChartControl
.CrosshairOptions.LinesMode
ASP.NET Web Forms Controls ChartControlSettings
.CrosshairOptions.LinesMode
MVCxChartControl
.CrosshairOptions.LinesMode
WebChartControl
.CrosshairOptions.LinesMode
See Also