Skip to main content

NumericIntervalOptions.GridLayoutMode Property

Gets or sets the value that specifies the alignment of grid lines, major tickmarks and axis labels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public GridLayoutMode GridLayoutMode { get; set; }

Property Value

Type Description
GridLayoutMode

The value that specifies alignment.

Available values:

Name Description
GridAndLabelCentered

A grid line, major tickmark, axis label are in an interval center.

GridShiftedLabelCentered

A grid line and major tickmark are shifted to an interval start value. An axis label is in the interval center.

GridAndLabelShifted

A grid line, major tickmark, axis label are shifted to an interval start value.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridLayoutMode
NumericScaleOptions
.IntervalOptions .GridLayoutMode

Remarks

The following alignments are available:

The GridLayoutMode value Image
GridAndLabelCentered
GridAndLabelShifted
GridShiftedLabelCentered

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridLayoutMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also