Skip to main content

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

NuGet Package: DevExpress.Charts

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 WebChartControl
.CrosshairOptions .LinesMode
ASP.NET MVC Extensions ChartControlSettings
.CrosshairOptions .LinesMode
See Also