Skip to main content
A newer version of this page is available. .

RangeControlDateTimeGridAlignment Enum

Lists the values that specify the date-time measurement unit to which the chart’s gridlines and labels of the date-time chart client should be aligned.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

public enum RangeControlDateTimeGridAlignment

Members

Name Description
Millisecond

Specifies a millisecond as the date-time unit to which chart grid lines should be aligned.

Second

Specifies a second as the date-time unit to which chart gridlines should be aligned.

Minute

Specifies a minute as the date-time unit to which chart grid lines should be aligned.

Hour

Specifies an hour as the date-time unit to which chart grid lines should be aligned.

Day

Specifies a day as the date-time unit to which chart gridlines should be aligned.

Week

Specifies a week as the date-time unit to which chart grid lines should be aligned.

Month

Specifies a month as the date-time unit to which chart grid lines should be aligned.

Year

Specifies a year as the date-time unit to which chart grid lines should be aligned.

Related API Members

The following properties accept/return RangeControlDateTimeGridAlignment values:

Remarks

The values listed by the RangeControlDateTimeGridAlignment enumeration are used to set the DateTimeChartRangeControlClientGridOptions.GridAlignment property.

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

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