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

TimeScale Class

Serves as the base class for classes which are time scales in the Timeline view.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll

Declaration

public abstract class TimeScale :
    UserInterfaceObject,
    INotifyPropertyChanged

The following members accept/return TimeScale objects:

Library Related API Members
WinForms Controls ReportTimelineView.GetBaseTimeScale()
TimelineScaleHeaders.GetBaseTimeScale()
TimelineView.GetBaseTimeScale()
WPF Controls TimelineView.GetBaseTimeScale()
ASP.NET Web Forms Controls TimelineView.GetBaseTimeScale()

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the TimeScale class.

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.

Implements

See Also