SchedulerControl Class
The main control of the DXScheduler Suite for WPF.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
public class SchedulerControl :
Control,
IMouseWheelScrollClient,
IInnerSchedulerControlOwner,
ICommandAwareControl<SchedulerCommandId>,
ISupportAppointmentEdit,
ISupportAppointmentFlyout,
ISupportAppointmentDependencyEdit,
IServiceContainer,
IServiceProvider,
ILogicalOwner,
IInputElement,
ISchedulerCommandTarget,
IInnerSchedulerCommandTarget,
IMouseKeyStateSupport,
ISupportsSmartFetch,
ITimeZoneHost,
IGestureClient
Related API Members
The following members return SchedulerControl objects:
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The SchedulerControl class is a visual control which allows appointments to be scheduled and displayed. Appointment data can be displayed in one of the standard Views provided by the Scheduler control. A View is an object that defines the timeline and how appointments are displayed along the timeline. For instance, the Day View represents appointments by day. When this View is active, the Scheduler control displays a single day at a time with the appointments that are assigned to this day. All the scheduler Views are derived from the SchedulerViewBase class.
To select a specific View, use the SchedulerControl.ActiveViewType property (the How to: Change the Active View (legacy) example demonstrates how to do this). View settings can be accessed via the SchedulerControl.Views property.
The Scheduler control does not store appointments and appointment resources. The control’s data is stored in a Scheduler Storage. It is a standalone object represented by the SchedulerStorage class. This object should be assigned to the SchedulerControl.Storage property. The Scheduler control’s storage manages appointments and appointment resources. It has methods for manually populating the storage with data or connecting it to a data source. For an example on how to bind a Scheduler control to data, refer to Lesson 5 - Bind a Scheduler to Entity Framework Data Source (legacy).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SchedulerControl class.
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.