wpf-devexpress-dot-xpf-dot-charts-dot-rangecontrolclient-dot-scaleoptions-2fb98f50.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public SnapBehaviorBase SnapBehavior { get; set; }
Public Property SnapBehavior As SnapBehaviorBase
| Type | Description |
|---|---|
| SnapBehaviorBase |
The SnapBehaviorBase‘s child class instance that specifies a snapping behavior.
|
You can access this nested property as listed below:
| Object Type | Path to SnapBehavior |
|---|---|
| ChartBoundRangeControlClient |
.ScaleOptions .SnapBehavior
|
The following behaviors are available:
| Behavior | Sample Image | Description |
|---|---|---|
| AutoSnapBehavior | Identifies the Chart bound Range Control Client’s Snap Behavior , in which the selected range snaps to the Client’s grid. | |
| ChartSnapBehavior | The Chart Snap Behavior specifies that the Range control’s selected range is aligned by the bound chart’s measurement. | |
| ManualSnapBehavior | 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