Skip to main content

AppointmentDependencyStorage Class

A storage which holds a collection of appointment dependencies.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler


public class AppointmentDependencyStorage :

The following members return AppointmentDependencyStorage objects:


The AppointmentDependencyStorage class is a storage which holds appointment dependencies. To get access to an instance of the class, use the SchedulerStorage.AppointmentDependencies property. The collection of dependencies is available using the AppointmentDependencyStorage.Items property.

When the AppointmentDependencyStorage instance is connected to a data source by specifying its DataSource and DataMember properties, the bound mode is switched on. In this mode, if the PersistentObjectStorage<T>.AutoReload property is set to true, dependencies are automatically retrieved from the specified data source, and when data in the data source is modified, the AppointmentDependencyStorage 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 situation.

In bound mode you should use the AppointmentDependencyStorage.Mappings property to specify which fields in the bound data source hold the parent and child (dependent) appointment identifiers and the type of dependency. The values of these fields will be synchronized with the corresponding properties of AppointmentDependency objects.


See Also