Skip to main content

SchedulerStorage.ImportFromICalendar(String) Method

Imports appointments from the file in iCalendar format.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public void ImportFromICalendar(
    string path
)

Parameters

Name Type Description
path String

A string that specifies a file path from which the appointments will be imported.

Remarks

Important

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 ImportFromICalendar method imports the appointments contained in the specified file in iCalendar format. To get more control over the process, use the methods of the iCalendarImporter class instance. To filter appointments for import, handle the AppointmentImporter.AppointmentImporting event.

Note

The ImportFromICalendar method imports non-standard iCalendar properties to custom fields, provided the iCalendar property’s second prefix matches the iCalendarImporter.CustomPropertyIdentifier value.

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

See Also