Skip to main content

ISchedulerStorageBase.ResourceChanging Event

Fires when a resource’s property is about to be changed.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

event PersistentObjectCancelEventHandler ResourceChanging

Event Data

The ResourceChanging event's data class is PersistentObjectCancelEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets whether to cancel the operation.
Object Gets the persistent object (appointment, resource or appointment dependency) for which the event occurs. Inherited from PersistentObjectEventArgs.

Remarks

The ResourceChanging event is raised when changing a resource’s property. The resource whose property is about to be changed is identified by the event parameter’s PersistentObjectEventArgs.Object property (cast its value to the Resource type).

See Also