SchedulerControl.Start Property

Gets or sets the SchedulerControl start date. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public DateTime Start { get; set; }
Public Property Start As Date

Property Value

Type Description
DateTime

A DateTime value which represents the start date of the SchedulerControl.

Remarks

The Scheduler control's start date is the date on which the scheduler initially shows its data, according to its SchedulerControl.ActiveViewIndex.

The Start value is used to calculate the time interval displayed in the view. However, the start of the visible time interval may be different, because each view can have its display restrictions.

Consider an application that uses the DateNavigator control bound to the scheduler (the SchedulerDateNavigatorStyleSettings.Scheduler property is set to the SchedulerControl). When the end user clicks the date in the DateNavigator, it sets the SchedulerControl's Start property to that date. If you switch to the Work Week View and click a date that is Saturday in the DateNavigator, the Start property is set to the Saturday. However, the view is unable to display that date because Saturday is not a working day. So the visible interval is Monday to Friday.

TIP

The SchedulerControl.Start property is used as a base for calculating visible intervals when rendering a view, but the actual intervals displayed in the view are available using the SchedulerControl.VisibleIntervals property.

See Also