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

RichEditCommands.beginUpdate Method

Gets a command to prevent the control UI from being updated until the RichEditCommands.endUpdate method is called.

Declaration

beginUpdate(): void

Remarks

The Rich Edit allows a sequence of operations that affect a document or the control to be performed without having the control render itself after each modification. To do this, the code performing sequential changes to the rich edit must be enclosed within calls to the beginUpdate and RichEditCommands.endUpdate methods. This improves performance and avoids unnecessary render operations.

See Also