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.
Unfortunately, activation email could not send to your email. Please try again.

How to create the customized Appointment Editor in SfSchedule?

SfSchedule allows you to have customized appointment editor based on the requirement by overriding the default editor of it. This article explains you how to customize the default Appointment Editor Style in SfSchedule.

For Customizing Appointment Editor in SfSchedule

Create a Silverlight application and add SfSchedule control in it.

XAML

Create a customized control with required field to be shown in the editor and with required functions to do certain actions such as saving, deleting appointments listening the button click events.

C#

You need to apply your own style to above created editor control in the application as follows.

C#

To perform actions over appointments, the above style contains Save, Delete and Close button etc. This style is applied to the NewCustomEditor and it is added in application next to Schedule control.

XAML

Using schedule_AppointmentEditorOpening event of SfSchedule, you can avoid the opening of default Appointment Editor by setting the Cancel property to true. And you can open your own editor in this event by setting the required data to your control from the appointment information in the argument of the event.

Refer to the following code example to cancel the Appointment Editor Event and make the new editor to be visible.

C#

EditAppointment method is used to EDIT the saved appointment using customized Appointment Editor.

C#

AddAppointment method is declared to add the new appointment using customized Appointment Editor based on the Selected Dates.

C#

Sample Location:

 \AppData\Local\Syncfusion\EssentialStudio\12.3.0.36\ Silverlight \SfSchedule.Silverlight\ SfSchedule\CustmizationDemo

Screenshot

Figure 1: Customized Appointment Editor in SfSchedule

Article ID: Published Date: Last Revised Date: Platform: Control:
2707 11/19/2014 11/19/2014 Silverlight SfSchedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.