Skip to main content
A newer version of this page is available. .

SchedulerControl.Start Property

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

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public DateTime Start { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Start property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also