Articles in this section
Category / Section

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

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied