SchedulerControl.GoToDate(DateTime, SchedulerViewType) Method
Sets the specified date as the start date of the scheduler and makes the scheduler show its data for this date using the specified type of view.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime value specifying the new start date. |
viewType | SchedulerViewType | A SchedulerViewType enumeration value specifying the view in which the scheduler will show its data. |
Remarks
The scheduler’s start date is the date on which the scheduler shows its data according to its SchedulerControl.ActiveView. Use the GoToDate method without the viewType parameter to set the new start date value and show the scheduler’s data in the same view.
See Also