Back to Devexpress

ISchedulerStorage.Appointments Property

windowsforms-devexpress-dot-xtrascheduler-dot-ischedulerstorage.md

latest4.4 KB
Original Source

ISchedulerStorage.Appointments Property

Gets a storage object that contains appointments.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
IAppointmentStorage Appointments { get; }
vb
ReadOnly Property Appointments As IAppointmentStorage

Property Value

TypeDescription
IAppointmentStorage

An IAppointmentStorage object that is the storage for appointments.

|

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

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.

winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Forms/MyAppointmentEditForm.cs#L39

csharp
protected IAppointmentStorage Appointments {
    get { return control.DataStorage.Appointments; }
}

winforms-scheduler-serialize-deserialize-appointments/CS/DXApplication1/SerializationHelper.cs#L35

csharp
{
    Appointment objAppointment = AppointmentXmlPersistenceHelper.ObjectFromXml(scheduler.DataStorage.Appointments, xmlAppointment);
    scheduler.DataStorage.Appointments.Add(objAppointment);

winforms-scheduler-sync-with-ews/CS/EWSSyncExample/ExchangeExampleForm.cs#L42

csharp
foreach(var apt in apts)
    synchronizer.ExchangeToScheduler(schedulerControl1.DataStorage.Appointments, apt, true);
XtraMessageBox.Show("Imported");

winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Forms/MyAppointmentEditForm.vb#L42

vb
Get
    Return control.DataStorage.Appointments
End Get

winforms-scheduler-serialize-deserialize-appointments/VB/DXApplication1/SerializationHelper.vb#L27

vb
For Each xmlAppointment As String In serializedAppointments
    Dim objAppointment As Appointment = AppointmentXmlPersistenceHelper.ObjectFromXml(scheduler.DataStorage.Appointments, xmlAppointment)
    scheduler.DataStorage.Appointments.Add(objAppointment)

winforms-scheduler-sync-with-ews/VB/EWSSyncExample/ExchangeExampleForm.vb#L44

vb
For Each apt In apts
    synchronizer.ExchangeToScheduler(schedulerControl1.DataStorage.Appointments, apt, True)
Next apt

See Also

ISchedulerStorage Interface

ISchedulerStorage Members

DevExpress.XtraScheduler Namespace