PersistentObjectCancelEventHandler Delegate
Represents a method that will handle the persistent object events of the SchedulerStorage that have a cancel option.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
public delegate void PersistentObjectCancelEventHandler(
object sender,
PersistentObjectCancelEventArgs e
);
Parameters
Name | Type | Description |
---|---|---|
sender | Object | The event source. This parameter identifies the SchedulerStorage which raised the event. |
e | PersistentObjectCancelEventArgs | A PersistentObjectCancelEventArgs object which contains event data. |
Remarks
When creating a PersistentObjectCancelEventHandler
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:
Appointments:
- SchedulerStorageBase.AppointmentInserting
- SchedulerStorageBase.AppointmentDeleting
- SchedulerStorageBase.AppointmentChanging
Resources:
- SchedulerStorageBase.ResourceInserting
- SchedulerStorageBase.ResourceDeleting
- SchedulerStorageBase.ResourceChanging