Skip to main content

ChartRangeControlClientSnapMode Enum

Lists the values that specify the snap mode for a chart range control client.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum ChartRangeControlClientSnapMode


Name Description

Identifies the auto snap mode of the chart range control client, in which the values of ChartRangeControlClientGridOptions.SnapSpacing, ChartRangeControlClientGridOptions.SnapOffset, and ChartRangeControlClientDateTimeGridOptions.SnapAlignment properties are not specified and calculated according to the values of the corresponding ChartRangeControlClientGridOptions.GridSpacing, ChartRangeControlClientGridOptions.GridOffset and ChartRangeControlClientDateTimeGridOptions.GridAlignment properties.

In the image below, the SnapSpacing = GridSpacing = 4.



Identifies the chart measure unit mode of the chart range control client, in which the ChartRangeControlClientDateTimeGridOptions.SnapAlignment property is not specified and calculated according to the DateTimeScaleOptions.MeasureUnit (NumericScaleOptions.MeasureUnit) property. Note that the values of the ChartRangeControlClientGridOptions.SnapSpacing and ChartRangeControlClientGridOptions.SnapOffset properties should be equal to the default value.

For example, in the image below, the DateTimeScaleOptions.MeasureUnit property is set to Week.



Identifies the manual snap mode of the chart range control client, meaning that the ChartRangeControlClientGridOptions.SnapSpacing, ChartRangeControlClientGridOptions.SnapOffset and ChartRangeControlClientDateTimeGridOptions.SnapAlignment properties are in effect, and they should be manually defined.

For example, in the image below, the ChartRangeControlClientGridOptions.SnapSpacing property is set to 6.


Related API Members

The following properties accept/return ChartRangeControlClientSnapMode values:

Library Related API Members
Cross-Platform Class Library ChartRangeControlClientGridOptions.SnapMode
WinForms Controls ChartRangeControlClientGridOptionsModel.SnapMode


The values listed by the ChartRangeControlClientSnapMode enumeration are used to set the ChartRangeControlClientGridOptions.SnapMode property.

See Also