iCalendarExporter Class

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

Namespace: DevExpress.XtraScheduler.iCalendar

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

public class iCalendarExporter :
    AppointmentExporter
Public Class iCalendarExporter
    Inherits 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.

Inheritance

See Also