iCalendarImporter Class
Represents an object that transforms the event calendar components in iCalendar format into Scheduler appointments.
Namespace: DevExpress.XtraScheduler.iCalendar
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
Declaration
Remarks
The main functionality of the iCalendarImporter class is provided by the AppointmentImporter.Import method.
You should specify the ISchedulerStorageBase object to store imported appointments when creating an iCalendarImporter
instance. To accomplish that, use the DataStorage property for WinForms Scheduler and the SchedulerStorage.InnerStorage property for WPF Scheduler.
To recognize non-standard properties in the iCalendar input as custom appointment properties, specify the iCalendarImporter.CustomPropertyIdentifier.
To change properties before they are assigned to appointments, subscribe to iCalendarImporter.CalendarStructureCreated event. Its iCalendarStructureCreatedEventArgs.Calendars argument provides access to iCalendar structures.
You can cancel import for a particular calendar component by handling the AppointmentImporter.AppointmentImporting event.