windowsforms-devexpress-dot-xtrascheduler-dot-schedulerdatastorage-98d761ba.md
Fires after deletion of one or several appointment dependencies.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public event PersistentObjectsEventHandler AppointmentDependenciesDeleted
Public Event AppointmentDependenciesDeleted As PersistentObjectsEventHandler
The AppointmentDependenciesDeleted event's data class is PersistentObjectsEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Objects | Gets the persistent objects for which the event occurs. |
The AppointmentDependenciesDeleted event serves as a notification that one or several appointment dependencies have been deleted. The PersistentObjectEventArgs.Object property allows you to get the deleted appointment depndencies.
To intercept and cancel deletion, handle the SchedulerDataStorage.AppointmentDependencyDeleting event.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentDependenciesDeleted event.
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-gantt-chart/CS/GanttExample/Form1.cs#L27
schedulerDataStorage1.AppointmentDependenciesChanged += new PersistentObjectsEventHandler(schedulerDataStorage1_AppointmentDependenciesChanged);
schedulerDataStorage1.AppointmentDependenciesDeleted += new PersistentObjectsEventHandler(schedulerDataStorage1_AppointmentDependenciesDeleted);
#endregion #AppointmentDependencyEvents
winforms-scheduler-create-gantt-chart/VB/GanttExample/Form1.vb#L29
AddHandler schedulerDataStorage1.AppointmentDependenciesChanged, AddressOf schedulerDataStorage1_AppointmentDependenciesChanged
AddHandler schedulerDataStorage1.AppointmentDependenciesDeleted, AddressOf schedulerDataStorage1_AppointmentDependenciesDeleted
' #End Region ' #AppointmentDependencyEvents
See Also