The event handler receives an argument of type PersistentObjectsEventArgs containing data related to this event.
The following
PersistentObjectsEventArgs properties provide information specific to this event.
Property |
Description |
Objects |
Gets the persistent objects for which the event occurs. |
The AppointmentDependenciesInserted event serves as a notification that appointment dependencies have been added. The event parameter's DevExpress.XtraScheduler.PersistentObjectEventArgs.Object property allows you to get the inserted dependencies. To access the dependencies, you must cast the e.Object to the DevExpress.XtraScheduler.AppointmentBaseCollection type.
To validate insertion, or decide whether a dependency can be added, handle the AppointmentDependencyInserting event.