- Adding Reference
- Initialization
- Major improvements of SfScheduler
Contact Support
Migrating from SfSchedule to SfScheduler in WPF Scheduler
25 Nov 20215 minutes to read
SfScheduler is a new Scheduler control introduced in 18.2.0.45 Version. The SfScheduler control is used to schedule and manage the appointments through an intuitive user interface, similar to the Outlook calendar. This section helps to identify the equivalent SfSchedule features or APIs in the SfScheduler.
Adding Reference
SfSchedule Assembly Name: Syncfusion.SfSchedule.WPF
SfSchedule Namespace Name: Syncfusion.UI.Xaml.Schedule
SfScheduler Assembly Name: Syncfusion.SfScheduler.WPF
SfScheduler Namespace Name: Syncfusion.UI.Xaml.Scheduler
The following code example shows xmlns namespace for SfScheduler control. Include the Syncfusion schema in WPF and both the charts are available in the WPF schema.
SfSchedule
xmlns:schedule="http://schemas.syncfusion.com/wpf"
SfScheduler
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
(or)
xmlns:syncfusion="clr-namespace:Syncfusion.UI.Xaml.Scheduler;assembly=Syncfusion.SfScheduler.WPF"
Initialization
Both SfSchedule and SfScheduler almost have the same set of features. But the SfScheduler control offers a rich set of features over SfSchedule.
Major improvements of SfScheduler
- Improved the scheduler control rendering performance.
- Improved the performance on switching the views such as day, week, work week, month, and timeline views.
- Performance has been improved while loading more events or appointments.
- Schedule view or date swiping and scrolling interaction improved.
- Schedule elements easily customized using the Style and Template according to the WPF standard such as events or appointments, month cell.
- Support Recurrence pattern exception dates and exception appointments.
- Support special time region for Timeslot views.
NOTE
In the future, new features & enhancements will be added only in
SfScheduler
. It is recommended to use the ` SfScheduler`.
The following table shows the API comparison between SfSchedule and SfScheduler.
SfSchedule | SfScheduler | Description |
---|---|---|
Gets or sets a value which determines Scheduler ViewType. | ||
Gets or sets the day of the week in Schedule. | ||
Gets or sets the non working days. | ||
, | Gets or sets a items source to the scheduler. | |
Gets or sets the appointments data in schedule control. | ||
Gets or sets the mapping to the appointment. | ||
Gets or sets the Resource grouping for schedule. | ||
Gets or sets the Resource grouping for schedule. |
The following table compares the ScheduleAppointment APIs,
SfSchedule(ScheduleAppointment) | SfScheduler(ScheduleAppointment) | Description |
---|---|---|
Gets or sets the subject for the appointment. | ||
Gets or sets the notes for an appointment. | ||
Gets or sets the location for an appointment. | ||
Gets or sets the appointment color. | ||
Gets or sets the start date and time of the appointment. | ||
Gets or sets the end date and time of the appointment. | ||
- | Gets the internal start time which is converted based on start time zone applied. | |
- | Gets the internal end time which is converted based on start time zone applied. | |
Gets or sets time zone for the start time of the appointment. | ||
Gets or sets time zone for the end time of the appointment. | ||
Gets a value indicating whether the appointment is recurrence appointment or not. | ||
Gets or sets a value indicating whether the appointment's duration is equal to one day or not. | ||
Gets or sets a value indicating whether the appointment should be recursive. | ||
Gets or sets the properties for maintaining recurrence rule exception Dates. | ||
- | Gets or sets an unique ID for referring recurrence appointment. | |
- | Gets the data object associated with appointment. | |
- | Gets the type of appointment. |
The following table compares the AppointmentMapping APIs,
SfSchedule(AppointmentMapping) | SfScheduler(AppointmentMapping) | Description |
---|---|---|
Gets or sets the Subject property for mapping to the schedule appointment. | ||
Gets or sets the Notes property for mapping to the schedule appointment. | ||
Gets or sets the Location property for mapping to the schedule appointment. | ||
Gets or sets the AppointmentBackground property for mapping to the schedule appointment. | ||
Gets or sets the StartTime property for mapping to the schedule appointment. | ||
Gets or sets the EndTime property for mapping to the schedule appointment. | ||
Gets or sets the StartTimeZone property for mapping to the schedule appointment. | ||
Gets or sets the EndTimeZone property for mapping to the schedule appointment. | ||
Gets or sets the IsAllDay property for mapping to the schedule appointment. | ||
Gets or sets the RecurrenceRule property for mapping to the schedule appointment. | ||
Gets or sets the RecurrenceExceptionDates property for mapping to the schedule appointment. | ||
- | Gets or sets the RecurrenceId property for mapping to the schedule appointment. |
The following table compares the DaysViewSettings APIs,
SfSchedule | SfScheduler | Description |
---|---|---|
Gets or sets a time interval. | ||
Gets or sets a time interval size. | ||
Gets or sets the StartHour. | ||
Gets or sets the EndHour. |
The following table compares the TimelineViewSettings APIs,
SfSchedule | SfScheduler | Description |
---|---|---|
Gets or sets a time interval. | ||
Gets or sets a time interval size. | ||
Gets or sets the StartHour. | ||
Gets or sets the EndHour. |
The following table compares the MonthViewSettings APIs,
Gets or sets view header day format.SfSchedule | SfScheduler | Description |
---|---|---|
. | ||
Gets or sets the view header template. | ||
- | Gets or sets a value which determines in which direction the MonthView scrolls. | |
- | Gets or sets a value which define the display mode for appointment in month view. | |
- | Gets or sets a value to define the maximum number of the appointment to be displayed in a month cell. | |
- | Gets or sets a value indicating whether week number should be shown or not. |
The following table compares the Event APIs,
SfSchedule | SfScheduler | Description |
---|---|---|
ContextMenuOpening | Provides data for a SchedulerContextMenuOpening event. | |
ReminderFormActionChanged | Provides data for a ReminderAlertActionChanged event. | |
AppointmentEditorClosed | Provides data for a AppointmentEditorClosing event. | |
ScheduleClick | Provides data for the CellTapped event. | |
ReminderOpening | Provides data for a ReminderAlertOpening event. | |
AppointmentEditorOpening | Provides data for a AppointmentEditorOpening event. | |
ScheduleDoubleClick | Provides data for the CellDoubleTapped event. | |
AppointmentStartDragging | Provides data for the AppointmentDragStarting event. | |
AppointmentDragging | Provides data for the AppointmentDragOver event. | |
AppointmentEndDragging | Provides data for the AppointmentDropping event. | |
AppointmentResizing | Provides data for AppointmentResizing event. | |
AppointmentDeleting | Provides data for a AppointmentDeleting event. |
See the list of the rich set of features in SfScheduler
over SfSchedule
as follows:
Rich set of features in SfScheduler
over SfSchedule
.
Feature | Description |
---|---|
Events | Appointments contain information on events scheduled at specific times. In addition to default appointments, the users can use their own collections to connect a business entity to an appointment by mapping their fields, such as start time, end time, subject, notes, and recurrence. |
Data Binding | The scheduler control supports to bind any collection that implements the IEnumerable interface to populate appointments. |
Recurring Events | Easily configure recurring events on a daily, weekly, monthly, or yearly basis. Also skip or change the occurrence of a recurring appointment. |
NOTE
You can refer to our WPF Scheduler feature tour page for its groundbreaking feature representations. You can also explore our WPF Scheduler example to knows how to schedule and manage appointments through an intuitive user interface, similar to the Outlook calendar.