A newer version of this page is available. Switch to the current version.

ScaleOptions.SnapBehavior Property

Gets or sets the behavior that specifies how the Chart bound Range Control Client snaps its range bounds. This is a dependency property.

Namespace: DevExpress.Xpf.Charts.RangeControlClient

Assembly: DevExpress.Xpf.Charts.v20.2.dll


public SnapBehaviorBase SnapBehavior { get; set; }

Property Value

Type Description

The SnapBehaviorBase‘s child class instance that specifies a snapping behavior.

Property Paths

You can access this nested property as listed below:

Object Type Path to SnapBehavior


The following behaviors are available:

Behavior Sample Image Description
AutoSnapBehavior ChartRangeControlClientSnapMode_Auto Identifies the Chart bound Range Control Client’s Snap Behavior, in which the selected range snaps to the Client’s grid.
ChartSnapBehavior ChartRangeControlClientSnapMode_GridMeasureUnit The Chart Snap Behavior specifies that the Range control’s selected range is aligned by the bound chart’s measurement.
ManualSnapBehavior ChartRangeControlClientSnapMode_Manual Chart bound Range Control Client Snap Behavior, in which the selected range is aligned using parameters that the behavior specifies manually via the ManualSnapBehavior.Offset, ManualSnapBehavior.Spacing, ManualSnapBehavior.Alignment (for date-time scale) properties.
See Also