iCalendar Support
- 2 minutes to read
This document provides an overview of the iCalendar format and its implementation in the DXScheduler Suite for Silverlight.
The iCalendar format is designed to enable communication between different scheduling applications over the Internet. The iCalendar RFC 2445 defines the requirements for openly exchanging schedule and calendar information. It is currently the most supported and widely used standard for interoperation between your application and the most popular calendars - Apple iCal, Lotus Notes, Microsoft Outlook, Google Calendar, Novell GroupWise, and Windows Calendar, just to name a few.
A separate assembly, DevExpress.XtraScheduler.v14.2.iCalendarExchange.dll, contains all of the iCalendar functionality.
There are two classes designed for export and import operations with data in iCalendar format - iCalendarExporter and iCalendarImporter. Their constructors take a scheduler storage accessed via SchedulerControl.GetCoreStorage as a parameter specifying the location of appointments. When the iCalendarExporter or iCalendarImporter object is created, it provides information on the number of objects intended for exchange via the AppointmentExchanger.SourceObjectCount property. It can be used to adjust the progress indicator.
To accomplish a data exchange operation, execute one of the corresponding methods - AppointmentExporter.Export or AppointmentImporter.Import.
For detailed examples on how to provide SchedulerControl with the iCalendar data exchange functionality, refer to the How to: Import Data from iCalendar and How to: Export Data to iCalendar documents.