Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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