Skip to main content

TcxLookAndFeelController.EndUpdate Method

Applies all pending changes and redraws all forms and controls after a BeginUpdate procedure call.

Declaration

procedure EndUpdate;

Remarks

Every time you modify a global look & feel setting in the Skin Controller component, all application forms and DevExpress controls redraw their content to reflect the change. Enclose multiple look & feel setting changes between BeginUpdate and EndUpdate procedure calls to avoid UI flickering due to excessive redraw operations and improve performance.

BeginUpdate/EndUpdate and Batch Changes

A BeginUpdate procedure call disables notifications and postpones all changes until an EndUpdate call. A consequent EndUpdate call does the following:

  • Re-enables change notifications and corresponding redraw operations
  • Applies all changes made after a BeginUpdate call
  • Sends corresponding notifications in a batch
  • Redraws all affected forms and controls in an application

Note

Ensure that every BeginUpdate procedure call is followed by an EndUpdate procedure call, even if an exception occurs. Otherwise, the application remains frozen and unresponsive.

See Also