All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ITimeScale.ScaleUnit Property

Gets the time scale measure unit.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.2.dll

Declaration

TimeScaleUnit ScaleUnit { get; }

Property Value

Type Description
TimeScaleUnit

A DevExpress.Xpf.Scheduling.TimeScaleUnit enumeration value.

Available values:

Name Description
Year

The measure unit is a year.

Quarter

The measure unit is a quarter of a year.

Month

The measure unit is a month.

Week

The measure unit is a week.

Day

The measure unit is a day.

Hour

The measure unit is an hour.

Minute

The measure unit is a minute.

Second

The measure unit is a second.

Millisecond

The measure unit is a millisecond.

Remarks

The UnitCount property specifies the number of measure units in a single division of the scale.

The Week measure unit takes the SchedulerControl.FirstDayOfWeek value into account. To avoid it, set the ScaleUnit property to Day and the UnitCount property to 7.

See Also