Skip to main content

TdxCustomTileControl.BeginUpdate Method

Prevents the tile control from being repainted until the EndUpdate method is called.

Declaration

procedure BeginUpdate;

Remarks

Each time you modify any option within property sets of the tile control or any tile control element, the tile control calls LayoutChanged to initiate complete content repainting to reflect these changes. If you need to change several options at once, a sequence of appearance updates occurs. To postpone these updates, enclose the code that modifies property values within the BeginUpdate/EndUpdate method blocks.

The BeginUpdate method postpones updates. To apply the changes made, you should call the EndUpdate method. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also