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

AppointmentStorage Class

Represents a storage which holds a collection of appointments.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll


public class AppointmentStorage :

The following members return AppointmentStorage objects:


The AppointmentStorage class represents a storage which holds appointments. The functionality of the AppointmentStorage class can be accessed via the SchedulerStorage.Appointments property.

To get the collection of appointments use the AppointmentStorageBase.Items property.

Connecting the AppointmentStorage object to a data source via the PersistentObjectStorage<T>.DataSource and PersistentObjectStorage<T>.DataMember properties enables bound mode. In this mode, if the PersistentObjectStorage<T>.AutoReload property is set to true appointments are automatically retrieved from the specified data source, and when data in the data source is modified the AppointmentStorage object automatically reloads the data. If the AutoReload property is set to false data is not automatically loaded and reloaded from the data source. You should use the SchedulerStorageBase.RefreshData method to manually reload data in this case.

Use the AppointmentStorageBase.Mappings property to specify which fields in the bound data source hold an appointment’s description, location, type, recurrence information, resource id, etc. The values of these fields will be synchronized with the corresponding properties of appointments.

In bound mode the AppointmentStorage object synchronizes its data with the data source. If appointments are added, deleted or modified via the AppointmentStorage object the changes are saved to the data source.

In unbound mode (when the AppointmentStorage object is not bound to a data source) you can use the AppointmentStorageBase.Items property to manually populate the storage with appointments.


See Also