wpf-devexpress-dot-xpf-dot-charts-dot-rangecontrolclient-dot-chartboundrangecontrolclient-17a6854f.md
Gets or sets the scale options that configure grid appearance. This is a dependency property.
Namespace : DevExpress.Xpf.Charts.RangeControlClient
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public ScaleOptions ScaleOptions { get; set; }
Public Property ScaleOptions As ScaleOptions
| Type | Description |
|---|---|
| ScaleOptions |
The scale options storage.
|
An example uses the following classes and members:
| Symbols | Description |
|---|---|
| ChartBoundRangeControlClient | The Chart Range Control Client that obtains data to visualize from the bound Chart Control. |
ChartBoundRangeControlClient.ScaleOptions | Gets or sets the scale options that configure grid appearance. This is a dependency property. |
| ScaleOptions | The Chart bound Range Control scale options storage. |
| ScaleOptions.GridBehavior | Gets or sets the behavior that specifies how the Chart bound Range Control Client forms its grid. This is a dependency property. |
| ScaleOptions.SnapBehavior | Gets or sets the behavior that specifies how the Chart bound Range Control Client snaps its range bounds. This is a dependency property. |
The following code demonstrates how to configure the Chart Bound Range Control Client’s behavior:
<dxe:RangeControl AllowZoom="False">
<dxcr:ChartBoundRangeControlClient Chart="{Binding ElementName=chart}" ThumbLabelFormatString="{}{0:dd MMM yyyy}">
<dxcr:ScaleOptions LabelFormat="{}{0:MMM yyyy}">
<dxcr:ScaleOptions.GridBehavior>
<dxcr:ManualGridBehavior Alignment="Month" Spacing="20"/>
</dxcr:ScaleOptions.GridBehavior>
<dxcr:ScaleOptions.SnapBehavior>
<dxcr:AutoSnapBehavior/>
</dxcr:ScaleOptions.SnapBehavior>
</dxcr:ScaleOptions>
</dxcr:ChartBoundRangeControlClient>
</dxe:RangeControl>
See Also
ChartBoundRangeControlClient Class