ReportTimelineView.Scales Property

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

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v20.1.Reporting.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Collection, true, false, true)]
public TimeScaleCollection Scales { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Collection, True, False, True)>
Public ReadOnly Property Scales As TimeScaleCollection

Property Value

Type Description
TimeScaleCollection

A TimeScaleCollection object containing time scales for this view.

Remarks

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