SchedulerControl.GoToDate(DateTime, SchedulerViewType) Method
In This Article
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
NuGet Package: DevExpress.Win.Scheduler
#Declaration
public virtual void GoToDate(
DateTime date,
SchedulerViewType viewType
)
#Parameters
Name | Type | Description |
---|---|---|
date | Date |
A Date |
view |
Scheduler |
A Scheduler |
#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