Articles in this section

How to suspend and resume painting of the WinForms SyntaxEditor (EditControl)?

Painting method

Painting of the Edit control can be suspended using the Suspend method call. Painting can be resumed using Resume method call. Suspend and Resume methods internally call the interop method and LockWindowUpdate method to suspend and resume painting of the Edit control.

C#

this.editControl1.SuspendPainting();
this.editControl1.ResumePainting();

 

VB

Me.editControl1.SuspendPainting()
Me.editControl1.ResumePainting()

 

Reference link: https://help.syncfusion.com/windowsforms/syntax-editor/appearance#suspend-and-resume-painting

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied