Skip to main content
A newer version of this page is available. .

TcxCustomEditProperties.EndUpdate(Boolean) Method

Enables repainting of an editor.

Declaration

procedure EndUpdate(AInvokeChanged: Boolean = True);

Parameters

Name Type
AInvokeChanged Boolean

Remarks

Enclose the statements that modify the properties of the TcxCustomEditProperties object with calls to the BeginUpdate and EndUpdate methods. This improves performance 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