PersistentObjectStorage<T>.ObjectInserting Event

Occurs before a persistent object is inserted into the storage and allows you to cancel insertion.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

[Browsable(false)]
public event PersistentObjectCancelEventHandler ObjectInserting
<Browsable(False)>
Public Event ObjectInserting As PersistentObjectCancelEventHandler

Event Data

The ObjectInserting event's handler receives an argument of the PersistentObjectCancelEventArgs type. 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.

Implements

DevExpress.XtraScheduler.Internal.IInternalPersistentObjectStorage<T>.ObjectInserting
See Also