Back to Devexpress

ScaleOptions.SnapBehavior Property

wpf-devexpress-dot-xpf-dot-charts-dot-rangecontrolclient-dot-scaleoptions-2fb98f50.md

latest3.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public SnapBehaviorBase SnapBehavior { get; set; }
vb
Public Property SnapBehavior As SnapBehaviorBase

Property Value

TypeDescription
SnapBehaviorBase

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SnapBehavior
ChartBoundRangeControlClient

.ScaleOptions .SnapBehavior

|

Remarks

The following behaviors are available:

BehaviorSample ImageDescription
AutoSnapBehaviorIdentifies the Chart bound Range Control Client’s Snap Behavior , in which the selected range snaps to the Client’s grid.
ChartSnapBehaviorThe Chart Snap Behavior specifies that the Range control’s selected range is aligned by the bound chart’s measurement.
ManualSnapBehaviorChart 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

ScaleOptions Class

ScaleOptions Members

DevExpress.Xpf.Charts.RangeControlClient Namespace