We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to update the ItemsSource collection by using the default editor?

Platform: WinRT |
Control: SfSchedule |
Published Date: April 30, 2015 |
Last Revised Date: April 30, 2015
Tags: sfschedule

You can update the local appointment collection by using the editor events in the SfSchedule control. This article explains how to update the local appointment collection by using the default editor.

Updating the local appointment collection by using the default editor:

  1. Create a WinRT application and add the SfSchedule control to it.


  1. Create the class for declaring the custom appointment properties. To listen to the properties dynamically, implement the property contained class in the INotifyPropertyChanged interface as given in the following code example.


  1. Create the local appointment collection. To listen to the collection dynamically, use the ObservableCollection as given in the following code example.


  1. Now, create the AppointmentEditorClosed event that is based on the e.Action value of the event argument, where you can perform the actions by setting the e.Handled as true to avoid the default action done by the editor.


In the above code example, by using the e.EditedAppointment and the e.OriginalAppointment value, you can update the custom appointment collection.

  1. Now, create the ScheduleAppointmentMapping as given in the following code example.


After completing the above steps, run the project and the local appointment collection gets updated when you Add, Edit, or Delete an appointment. Use the Edit option in the context menu to edit or delete appointments.

Sample Link:


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile