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

TdxCustomTreeView.BeginUpdate Method

In This Article

Prevents Tree View updates until an EndUpdate call.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

Every time a node‘s properties (except for selection) change, the Tree View control redraws its client area. Enclose multiple Tree View changes between the BeginUpdate and EndUpdate procedure calls to improve performance and prevent the control from flickering.

To avoid excessive redraw operations when multiple selection changes occur, call the BeginSelect and EndSelect procedures.

Note

An EndUpdate procedure call should follow every BeginUpdate procedure call, even if an exception occurs.

See Also