TimeRuler Class
A time ruler.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
[TypeConverter(typeof(UniversalTypeConverterEx))]
public class TimeRuler :
ISupportObjectChanged,
IXtraSerializable
#Returned By
The CustomizeTimeRulerFormEventArgs.TimeRuler property returns an instance of TimeRuler.
#Remarks
Time rulers are used to display the time of the view's visible interval which is specified by the DayView.VisibleTime property. The Day and Work-Week views allow an unlimited number of time rulers to be displayed. They hold their time rulers within their DayView.TimeRulers collection.
The time ruler's TimeRuler.Caption property specifies the ruler's caption. Commonly, captions are used to indicate a time zone or geographic region whose standard time a ruler displays. A time zone whose standard time is displayed by a time ruler is specified by the TimeRuler.TimeZone property. The TimeRuler.ShowCurrentTime and TimeRuler.ShowMinutes properties allow you to specify whether the time slider which indicates the current time and minutes are displayed, respectively.
It's also possible to specify whether the time ruler maintains daylight-saving time. Use the TimeRuler.AdjustForDaylightSavingTime property for this purpose.