A newer version of this page is available. Switch to the current version.

SchedulerStorage.ExportToICalendar(Stream) Method

Exports appointments in the scheduler to a stream in the iCalendar format.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v19.1.dll


public void ExportToICalendar(
    Stream stream


Name Type Description
stream Stream

A Stream object which specifies the stream into which the scheduler’s data will be exported.



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The ExportToICalendar method exports all appointments contained within the Scheduler Storage to the specified stream in iCalendar format. To get more control over the process, use the methods of the iCalendarExporter class instance. To filter appointments for export, handle the AppointmentExporter.AppointmentExporting event.


The ExportToICalendar method exports custom fields to non-standard iCalendar properties with the default second prefix “DEVEXPRESS”. To change it, use the AppointmentExporter.Export method instead, and specify the iCalendarExporter.CustomPropertyIdentifier value.

When exporting data from the storage to iCalendar format, make sure that the DevExpress.XtraScheduler.vX.Y.iCalendarExchange.dll assembly is included in the References list of your project.

See Also