A newer version of this page is available. Switch to the current version.

ReportTimelineView.Scales Property

Provides access to a collection of time scales in the view.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v18.2.Reporting.dll


public TimeScaleCollection Scales { get; }
Public ReadOnly Property Scales As TimeScaleCollection

Property Value

Type Description

A TimeScaleCollection object containing time scales for this view.


Use this property to get access to the time scales collection, and specify the TimeScale elements of the current view. The available time scales are used in the visible time interval calculations, and you may control whether a particular time scale should be considered via the TimeScale.Enabled property. To change format of scale captions use the TimeScale.DisplayFormat property. You may hide a specific time scale by setting the TimeScale.Visible property
to false.

The most detailed time scale that is enabled, displayed visually as a basis of the scales, is returned by the TimelineView.GetBaseTimeScale method.

See Also