PersistentObjectStorage<T>.ObjectInserting Event
In This Article
Occurs before a persistent object is inserted into the storage and allows you to cancel insertion.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
[Browsable(false)]
public event PersistentObjectCancelEventHandler ObjectInserting
#Event Data
The ObjectInserting 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 Persistent |
See Also