Back to Devexpress

TdxCustomOrgChart.BeginUpdate Method

vcl-dxorgchr-dot-tdxcustomorgchart-7bcaf1bb.md

latest1.0 KB
Original Source

TdxCustomOrgChart.BeginUpdate Method

Disables the control’s repainting until the EndUpdate procedure is called.

Declaration

delphi
procedure BeginUpdate;

Remarks

Each time the control’s content changes (due to adding, removing, changing node appearance settings, etc.) the client area is repainted to reflect the changes. Therefore, performing multiple changes at once results in a sequence of multiple repainting operations.

The BeginUpdate procedure postpones control’s content changes. To apply all the pending changes, call the EndUpdate procedure.

Ensure that every BeginUpdate call is followed by an EndUpdate call, even if an exception occurs.

See Also

TdxCustomOrgChart Class

TdxCustomOrgChart Members

dxorgchr Unit