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.SnapMode Property

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

Namespace: DevExpress.XtraCharts.Designer

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

NuGet Package: DevExpress.Win.Charts

#Declaration

[PropertyForOptions]
public CrosshairSnapMode SnapMode { get; set; }

#Property Value

Type Description
CrosshairSnapMode

The snap mode.

Available values:

Name Description
NearestArgument

A crosshair cursor is shown for the nearest point argument.

Snap_NearestArgument

NearestValue

A crosshair cursor is shown for the nearest point value.

SnapMode - NearestValue

#Property Paths

You can access this nested property as listed below:

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