SchedulerStorage.ResourcesDeleted Event
Occurs after a resource or several resources have been deleted.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
public event PersistentObjectsEventHandler ResourcesDeleted
#Event Data
The ResourcesDeleted 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. |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
The ResourcesDeleted event serves as a notification that a resource or resources have been deleted. The event parameter’s PersistentObjectsEventArgs.Objects property allows you to get resources which have been deleted.
To specify whether a resource can be deleted, handle the SchedulerStorage.ResourceDeleting event.