PersistentObjectEventHandler Delegate
Represents a method that will handle the persistent object events of the SchedulerStorage.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public delegate void PersistentObjectEventHandler(
object sender,
PersistentObjectEventArgs e
);
#Parameters
Name | Type | Description |
---|---|---|
sender | Object | The event source. This parameter identifies the Scheduler |
e | Persistent |
A Persistent |
#Remarks
When creating a PersistentObjectEventHandler
delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.
The event handler of this class is used for the following persistent object events:
- PersistentObjectStorage<T>.ObjectInserted
- PersistentObjectStorage<T>.ObjectChanged
- PersistentObjectStorage<T>.ObjectDeleted
- ResourceStorageBase.ResourceVisibilityChanged