PersistentObject.CanDelete() Method
Raises the PersistentObjectStorage<T>.ObjectDeleting event to determine whether the object can be deleted.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
Returns
Type | Description |
---|---|
Boolean | true if the persistent object can be deleted; otherwise, false. |
Remarks
If the PersistentObjectStorage<T>.ObjectDeleting is not handled, the CanDelete returns true. If the event is handled, the CanDelete returns false if PersistentObjectCancelEventArgs.Cancel has been set to true within the event handler.
See Also