Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomEditPropertiesValues.BeginUpdate Method

In This Article

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

#Declaration

Delphi
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