Back to Devexpress

TimelineView.Scales Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-timelineview-521eaff4.md

latest2.5 KB
Original Source

TimelineView.Scales Property

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

Namespace : DevExpress.Web.ASPxScheduler

Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll

NuGet Package : DevExpress.Web.Scheduler

Declaration

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

Property Value

TypeDescription
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. The display options can be customized via the TimeScale.DisplayFormat and TimeScale.Width properties. You may hide a specific time scale by setting the TimeScale.Visible property
to false.

The TimeScale.Width setting has effect only on the XtraScheduler control, not including its web counterpart ASPxScheduler Control.

The most detailed and enabled time scale that is displayed visually, as the base scale, is accessible via the TimelineView.GetBaseTimeScale property.

See Also

TimelineView Class

TimelineView Members

DevExpress.Web.ASPxScheduler Namespace