Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.OnBeforeDelete Event

In This Article

Allows you to perform specific actions when the data controller is about to delete a record.

#Declaration

Delphi
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