Back to Devexpress

TdxCustomTreeView.BeginUpdate Method

vcl-dxtreeview-dot-tdxcustomtreeview-8bf26b56.md

latest1.1 KB
Original Source

TdxCustomTreeView.BeginUpdate Method

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

TdxCustomTreeView Class

TdxCustomTreeView Members

dxTreeView Unit