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.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

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.

lines-mode-none

Property Paths

You can access this nested property as listed below:

Object Type Path to LinesMode
ChartControl
.CrosshairOptions .LinesMode
See Also