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

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

NuGet Package: DevExpress.Win.Navigation

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

See Also