Skip to main content
All docs
V24.2

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

TimeScale.ScaleUnit Property

Specifies the time scale measure unit. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public TimeScaleUnit ScaleUnit { get; set; }

#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 ignore this value, set the ScaleUnit property to Day and the UnitCount property to 7.

See Also