Back to Devexpress

TimeScale Class

corelibraries-devexpress-dot-xtrascheduler-9a35fcdf.md

latest4.0 KB
Original Source

TimeScale Class

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public abstract class TimeScale :
    UserInterfaceObject,
    INotifyPropertyChanged
vb
Public MustInherit Class TimeScale
    Inherits UserInterfaceObject
    Implements INotifyPropertyChanged

The following members return TimeScale objects:

LibraryRelated API Members
WinForms ControlsReportTimelineView.GetBaseTimeScale()
TimelineScaleHeaders.GetBaseTimeScale()
TimelineView.GetBaseTimeScale()
ASP.NET Web Forms ControlsTimelineView.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.

Implements

IIdProvider

Inheritance

Show 13 items

Object UserInterfaceObject TimeScale TimeScaleFixedInterval

TimeScaleMonth

TimeScaleQuarter

TimeScaleYear

TimeScale15Minutes

TimeScaleDay

TimeScaleHour

TimeScaleWeek

TimeScaleWorkDay

TimeScaleWorkHour

See Also

TimeScale Members

Scales

How to: Merge Columns to Hide Specific Time Intervals in the Timeline View

DevExpress.XtraScheduler Namespace