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.OnBeforeCancel Event

In This Article

Occurs before canceling modifications to the active record if working in unbound or provider mode.

#Declaration

Delphi
property OnBeforeCancel: TcxDataControllerNotifyEvent read; write;

#Remarks

Write an OnBeforeCancel event handler to perform specific actions before the changes to the active record are canceled. The OnBeforeCancel event is called by the Cancel method.

Handle the OnAfterCancel event to respond after canceling the modifications to the active record.

See Also