Skip to main content

iCalendarExporter Class

Represents an object that transforms Scheduler appointments into the event calendar components in iCalendar format.

Namespace: DevExpress.XtraScheduler.iCalendar

Assembly: DevExpress.XtraScheduler.v22.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop


public class iCalendarExporter :


The main functionality of the iCalendarExporter class is provided by the AppointmentExporter.Export method.

You should specify the ISchedulerStorageBase object to supply appointments for export when creating an iCalendarExporter instance. To accomplish that, use the DataStorage property for WinForms Scheduler and the SchedulerStorage.InnerStorage property for WPF Scheduler.

To save custom appointment properties as non-standard properties in the iCalendar format , specify the iCalendarExporter.CustomPropertyIdentifier.

To change properties before they are written to output, subscribe to the iCalendarExporter.CalendarStructureCreated event. Its iCalendarStructureCreatedEventArgs.Calendars argument provides access to iCalendar structures.

You can cancel export for a particular calendar component by handling the AppointmentExporter.AppointmentExporting event.


See Also