Skip to main content
A newer version of this page is available. .

iCalendarExporter Class

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

Namespace: DevExpress.XtraScheduler.iCalendar

Assembly: DevExpress.XtraScheduler.v18.1.Core.dll

Declaration

public class iCalendarExporter :
    AppointmentExporter

Remarks

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 SchedulerControl.Storage 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the iCalendarExporter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also