Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public virtual void GoToDate(
    DateTime date,
    SchedulerViewType viewType
)

#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