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 differentiate Schedule Appointments by background color, when more than one ICS files are imported in the same application?

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

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
3351 01/22/2015 01/22/2015 WinRT 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.