New to Telerik UI for WPFStart a free 30-day trial

Export collection of Appointment to ICalendar format.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class CalendarExporterBase

Inheritance: objectCalendarExporterBase

Derived Classes: AppointmentCalendarExporter

Constructors

C#
protected CalendarExporterBase()

Methods

Convert Appointment to list of CalObject.

C#
protected virtual IList<CalObject> AppointmentToCalObject(IAppointment appointment)
Parameters:appointmentIAppointment

The appointment.

Returns:

IList<CalObject>

Exceptions:

CalendarParseException

CalendarParseException.

Creates a new iCal file.

C#
protected virtual CalObject CreateCalendar(IEnumerable<IAppointment> appointments)
Parameters:appointmentsIEnumerable<IAppointment>

The appointments to write to the calendar.

Returns:

CalObject

Creates the ICalendar VCALENDAR object with default properties.

C#
protected virtual CalObject CreateCalendarObject()
Returns:

CalObject

Exports the specified appointments to ICalendar format.

C#
public void Export(IEnumerable<IAppointment> appointments, TextWriter textWriter)
Parameters:appointmentsIEnumerable<IAppointment>

The appointments.

textWriterTextWriter

The text writer.

Writes the additional data for appointment.

C#
protected abstract void WriteAdditionalDataForAppointment(IAppointment appointment, CalObject calObject)
Parameters:appointmentIAppointment

The appointment.

calObjectCalObject

The cal object.