Skip to main content

ScaleOptions.GridBehavior Property

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

Namespace: DevExpress.Xpf.Charts.RangeControlClient

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public GridBehaviorBase GridBehavior { get; set; }

Property Value

Type Description
GridBehaviorBase

The GridBehaviorBase‘s child class that specifies grid behavior.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridBehavior
ChartBoundRangeControlClient
.ScaleOptions .GridBehavior

Remarks

The following behaviors are available.

Behavior Sample Image Description
AutoGridBehavior ChartRangeControlClientGridMode_Auto Identifies the Chart bound Range Control Client Grid Behavior, in which the Client automatically calculates its grid spacing, grid offset and grid alignment (for the date-time scale) values.
ChartGridBehavior ChartRangeControlClientGridMode_ChartGrid Identifies the Chart bound Range Control Client Grid Behavior which obtains the Client’s grid spacing and grid offset and, grid alignment (for the date-time scale) values from the bound chart.
ManualGridBehavior ChartRangeControlClientGridMode_Manual Identifies the Chart bound Range Control Client Grid Behavior which forms Client’s grid using ManualGridBehavior.Offset, ManualGridBehavior.Spacing and ManualGridBehavior.Alignment (for the date-time scale) values.
See Also