All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.

ValueIndicatorBase.SnapMode Property

Gets or sets whether the gauge control snaps the indicator value to tickmarks.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v21.2.dll

Declaration

public IndicatorSnapMode SnapMode { get; set; }

Property Value

Type Description
IndicatorSnapMode

A mode that specifies whether or not to snap the indicator value to major/minor tickmarks.

Available values:

Name Description
None

Does not snap the indicator value to any tickmarks.

MinorTickmarks

Snaps the indicator value to minor tickmarks.

MajorTickmarks

Snaps the indicator value to major tickmarks.

Remarks

When users change the indicator value, they can set any value. You can prohibit users from setting values bettween tickmarks. Set the SnapMode property to MajorTickmarks / MinorTickmarks to snap the indicator value to major/minor tickmarks.

Run Demo: Interactivity

See Also