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

CrosshairOptionsModel.ValueSelectionMode Property

Gets or sets the value of the CrosshairOptions.ValueSelectionMode within the model.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

[PropertyForOptions]
public CrosshairValueSelectionMode ValueSelectionMode { get; set; }

#Property Value

Type Description
CrosshairValueSelectionMode

The selection mode of values to display in the Crosshair label.

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.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ValueSelectionMode
ChartModel
.CrosshairOptions .ValueSelectionMode
See Also