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

IdxTreeOwner.BeforeDelete(TdxTreeCustomNode) Method

Ensures that specific actions are performed before a node is destroyed.

#Declaration

Delphi
procedure BeforeDelete(ASender: TdxTreeCustomNode);

#Parameters

Name Type
ASender TdxTreeCustomNode

#Remarks

A common practice for method implementation is releasing resources associated with a node before the node is destroyed (see the node’s Data property).

In the base implementation, the method is called by the ASender‘s destructor.

ASender specifies the node that will be deleted.

See Also