Skip to main content

CrosshairOptions.SnapMode Property

Specifies the current snap mode of a crosshair cursor.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

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

Property Value

Type Description
CrosshairSnapMode

A CrosshairSnapMode enumeration member.

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:

Library Object Type Path to SnapMode
WinForms Controls ChartControl
.CrosshairOptions .SnapMode
ASP.NET Web Forms Controls WebChartControl
.CrosshairOptions .SnapMode
ASP.NET MVC Extensions ChartControlSettings
.CrosshairOptions .SnapMode
See Also