TimeScale Class
Serves as the base class for classes which are time scales in the Timeline view.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public abstract class TimeScale :
UserInterfaceObject,
INotifyPropertyChanged
#Related API Members
The following members return TimeScale objects:
Library | Related API Members |
---|---|
Win |
Report |
Timeline |
|
Timeline |
|
WPF Controls | Timeline |
ASP. |
Timeline |
#Remarks
This class provides the TimeScale.Enabled and TimeScale.Visible properties, which define the behavior of a particular time scale when calculating a Scheduler Control’s layout for the Timeline view.
You can inherit from this class to modify the Timeline View by implementing custom time scales. A custom scale allows you to specify arbitrary scale intervals, modify captions and hide certain time intervals.
For the comparitively simple task of creating a scale with a fixed interval, you can inherit from the TimeScaleFixedInterval class. For more complex tasks, use the TimeScale descendants and override key methods, as illustrated in the How to: Hide Certain Columns in the Timeline View document.