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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the Week View Appointments in the Schedule Windows phone?

The template for the Week-View appointment can be customized easily by overriding the default template of the WeekAppointmentsControl. This article explains how to create the twenty four hours’ time format in the SfSchedule.

Overriding WeekAppointmentsControl:

  1. Create a Windows Phone application and add the SfSchedule control to it. Then, customize the TimeFormat by overriding the WeekAppointmentsControl.

XAML

 

  1. Change the default time format by using the IValueconverter as given in the following code example.

C#

 

  1. Create the appointments.

C#

 

  1. You can also override the default AppointmentTemplate in order to get the same TimeFormat by binding the timeconverter.

XAML

 

The following screenshots display the appointments with twenty four hours TimeFormat in Week View.

Screenshot (4)

Figure 1: Appointment with twenty four hours TimeFormat in Week View

 

Screenshot (5)

Figure 2: Expanded appointment with twenty four hours TimeFormat in Week View

Article ID: Published Date: Last Revised Date: Platform: Control:
4773 05/05/2015 05/05/2015 Windows Phone SfSchedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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