Skip to main content

SchedulerControl Class

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

[DXToolboxBrowsable]
[TemplatePart(Name = "PART_DateTimeScrollBar", Type = typeof(ScrollBar))]
[ToolboxTabName("DX.14.2: Scheduling")]
public class SchedulerControl :
    Control,
    IMouseWheelScrollClient,
    IInnerSchedulerControlOwner,
    ISupportAppointmentEdit,
    ISupportAppointmentDependencyEdit,
    IServiceContainer,
    IServiceProvider,
    ILogicalOwner,
    IInputElement,
    ISchedulerCommandTarget,
    IInnerSchedulerCommandTarget,
    IMouseKeyStateSupport,
    ICommandAwareControl<SchedulerCommandId>,
    IGestureClient

#Remarks

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 displays appointments by day. When this view is active, the scheduler control displays a single day simultaneously with appointments that are assigned to this day. All 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 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 of how to bind a scheduler control to data, refer to Lesson 1 - Bind a Scheduler to Data Using WCF RIA Services and Lesson 2 - Provide Resources for Appointments.

See Also