Back to Devexpress

TdxWizardControlCustomPersistent.BeginUpdate Method

vcl-dxcustomwizardcontrol-dot-tdxwizardcontrolcustompersistent.md

latest1.4 KB
Original Source

TdxWizardControlCustomPersistent.BeginUpdate Method

Postpones sending notifications about the class setting changes until a matching EndUpdate method is called.

Declaration

delphi
procedure BeginUpdate;

Remarks

Each time you modify any option within this class or its descendant, a wizard control initiates a complete content repainting to reflect these changes. If you need to change several options simultaneously, a sequence of appearance updates occurs. To postpone these updates and improve performance, enclose the code that modifies options within the BeginUpdate /EndUpdate method blocks. The BeginUpdate method postpones updates. To apply the changes made, you should call the EndUpdate method. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also

TdxWizardControlCustomPersistent Class

TdxWizardControlCustomPersistent Members

dxCustomWizardControl Unit