)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to differentiate Schedule Appointments by background color, when more than one ICS files are imported in the same application?

Platform: WinRT |
Control: SfSchedule |
Published Date: January 22, 2015 |
Last Revised Date: January 22, 2015
Tags: sfschedule

The schedule appointments can be differentiated by its background when you import more than one ICS files in the same application.

 

Create a WinRT application and add SfSchedule by specifying the AppointmentCollectionChanged Event Handler in it.

 

XAML

 

By triggering the AppointmentCollectionChanged event of schedule, the imported ICS file in Schedule can be differentiated by changing the Schedule AppointmentBackground property before importing new ICS file.

 

C#

 

You can use the SfColorPicker control to set the schedule AppointmentBackgroundcolor and its SelectedColor property is binded with local property that is used to set the AppointmentsBackgroundcolor to differentiate the new ICS file that is imported.

 

XAML

 

You can use the converter to select the color in SfColorPicker.

C#

 

Schedule ExportICS and ImportICS methods are handled in button click event to differentiate the ICS file in schedule.

C#

 

Sample Link:

Schedule_ImportICS.zip

 

The following screenshots displays to differentiate ICS in Schedule by changing appointmentsbackgroundcolor.

 

Figure 1: Single ICS file import

 

 

Figure 2: Differentiating ICS file when more than one import

 

 

ADD COMMENT
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
Live Chat Icon