Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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).

Free

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

#Property Paths

You can access this nested property as listed below:

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