DayView.TimeScale Property

Gets or sets the time interval for the time slots in the scheduling area.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[XtraSerializableProperty]
public TimeSpan TimeScale { get; set; }
<XtraSerializableProperty>
Public Property TimeScale As TimeSpan

Property Value

Type Description
TimeSpan

A TimeSpan value representing the time interval for the time slots.

Remarks

Use the TimeScale property to specify the time interval which is the amount by which the time scale displayed in the scheduling area increments. This property's value applies to the time slots and time rulers in the scheduling area. When a new value is set for the TimeScale property, the lines which divide up the hours change in the time ruler to reflect the increment specified.

Note that the TimeScale property cannot be set to any arbitrary value. When assigning a value to the TimeScale property it is automatically calculated so as to be equal to the nearest TimeSlot.Value set for one of the time slots which are contained within the DayView.TimeSlots collection.

See Also