EndUpdate Method

Applies to TestComplete 15.47, last modified on January 20, 2023

Resumes painting the component holding the given collection after painting is suspended by the BeginUpdate method.

Declaration

collectionObj.EndUpdate()
collectionObj     One of the objects listed in the Applies To section  
Result     None  

Applies To

This method applies to the following objects:

TcxEditButtons, TcxRadioGroupItems

Description

Each time you modify the collection of items displayed in a component, for example, add new items or delete existing items, the component is repainted. You can use the BeginUpdate method before making changes to the collection in order to suspend the repainting of the component until the changes are complete. To resume painting the component, call the EndUpdate method after the changes are made. This approach optimizes performance and can prevent the component from blinking when items are added or removed.

See Also

BeginUpdate Method

Highlight search results