corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-c7158483.md
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.v25.2.dll
NuGet Package : DevExpress.Charts
public CrosshairLinesMode LinesMode { get; set; }
Public Property LinesMode As CrosshairLinesMode
| 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).
| | Free |
The Crosshair Cursor’s lines do not snap to points that the Crosshair highlights.
|
You can access this nested property as listed below:
| Library | Object Type | Path to LinesMode |
|---|---|---|
| WinForms Controls | ChartControl |
.CrosshairOptions .LinesMode
| | ASP.NET MVC Extensions | ChartControlSettings |
.CrosshairOptions .LinesMode
| | ASP.NET Web Forms Controls | WebChartControl |
.CrosshairOptions .LinesMode
|
See Also