Skip to main content

SchedulerTimeRuler() Constructor

Initializes a new instance of the SchedulerTimeRuler class with default settings.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v21.2.dll


public SchedulerTimeRuler()



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

In this case, the TimeRuler.TimeMarkerVisibility and TimeRuler.AdjustForDaylightSavingTime properties will be set to true, the TimeRuler.ShowMinutes and TimeRuler.AlwaysShowTimeDesignator properties will be set to false, and the TimeRuler.Caption property will be set to Empty.

Also, the TimeRuler.TimeZoneId property will be set to the current time zone on the local machine.

See Also