TcxCustomDataController.OnBeforeDelete Event
Allows you to perform specific actions when the data controller is about to delete a record.
Declaration
property OnBeforeDelete: TcxDataRecordNotifyEvent read; write;
Remarks
This event occurs every time the data controller is about to delete a record (that is, in response to a DeleteFocused or DeleteSelection procedure call).
Note
The data controller’s DeleteRecord procedure does not raise the OnBeforeDelete event.
Refer to the TcxDataRecordNotifyEvent type description for information on available options.
Handle the OnAfterDelete event to perform actions after the data controller deletes a record.
See Also