SchedulerStorage.ResourcesDeleted Event
Occurs after a resource or several resources have been deleted.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
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.