Back to Devexpress

SchedulerDataStorage.AppointmentDependenciesDeleted Event

windowsforms-devexpress-dot-xtrascheduler-dot-schedulerdatastorage-98d761ba.md

latest3.8 KB
Original Source

SchedulerDataStorage.AppointmentDependenciesDeleted Event

Fires after deletion of one or several appointment dependencies.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public event PersistentObjectsEventHandler AppointmentDependenciesDeleted
vb
Public Event AppointmentDependenciesDeleted As PersistentObjectsEventHandler

Event Data

The AppointmentDependenciesDeleted event's data class is PersistentObjectsEventArgs. The following properties provide information specific to this event:

PropertyDescription
ObjectsGets the persistent objects for which the event occurs.

Remarks

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

csharp
schedulerDataStorage1.AppointmentDependenciesChanged += new PersistentObjectsEventHandler(schedulerDataStorage1_AppointmentDependenciesChanged);
schedulerDataStorage1.AppointmentDependenciesDeleted += new PersistentObjectsEventHandler(schedulerDataStorage1_AppointmentDependenciesDeleted);
#endregion #AppointmentDependencyEvents

winforms-scheduler-create-gantt-chart/VB/GanttExample/Form1.vb#L29

vb
AddHandler schedulerDataStorage1.AppointmentDependenciesChanged, AddressOf schedulerDataStorage1_AppointmentDependenciesChanged
AddHandler schedulerDataStorage1.AppointmentDependenciesDeleted, AddressOf schedulerDataStorage1_AppointmentDependenciesDeleted
' #End Region ' #AppointmentDependencyEvents

See Also

AppointmentDependencyDeleting

SchedulerDataStorage Class

SchedulerDataStorage Members

DevExpress.XtraScheduler Namespace