Skip to main content

TcxCustomEditPropertiesValues.BeginUpdate Method

Prevents an editor from being repainted until the EndUpdate method is called.

Declaration

procedure BeginUpdate;

Remarks

Enclose the statements that modify the properties of the TcxCustomEditPropertiesValues object with calls to the BeginUpdate and EndUpdate methods. This gives a performance benefit and avoids any flickering when the property flags are modified.

Note

Calls to BeginUpdate are cumulative; for every call to BeginUpdate there must be a corresponding call to EndUpdate. The editor is repainted only after the same number of calls have been made to EndUpdate as BeginUpdate. The editor receives notifications about property changes by subscribing to the protected OnPropertiesChanged event.

See Also