SchedulerStorage.ResourcesInserted Event
Occurs when new resources have been inserted into the scheduler storage.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
Event Data
The ResourcesInserted 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 ResourcesInserted event serves as notification that a resource or several resources have been added to the resource collection. The event parameter’s PersistentObjectsEventArgs.Objects property allows you to get resources which have been added.
To specify whether a resource can be added, handle the SchedulerStorage.ResourceInserting event.