wpf-devexpress-dot-xpf-dot-charts-dot-crosshairoptions-f0cace60.md
Gets or sets the identifier specifying the behavior of the selection of points shown in the crosshair label.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public CrosshairValueSelectionMode ValueSelectionMode { get; set; }
Public Property ValueSelectionMode As CrosshairValueSelectionMode
| Type | Description |
|---|---|
| CrosshairValueSelectionMode |
The selection behavior identifier.
|
Available values:
| Name | Description |
|---|---|
| Default |
The selection behavior is specified based on the axis scale type. If scale type is Numeric, the mode is ValueRange ; otherwise the scale type is Value.
| | Value |
Points for the crosshair are selected by the exact value specified by the Crosshair Cursor.
| | ValueRange |
Points for the crosshair are selected from a range around the value specified by the Crosshair Cursor.
|
You can access this nested property as listed below:
| Object Type | Path to ValueSelectionMode |
|---|---|
| ChartControl |
.CrosshairOptions .ValueSelectionMode
|
To learn more about the Crosshair Cursor, see Tooltip and Crosshair Cursor.
See Also