ControlDesigner.Invalidate Method

Invalidates the control as displayed on the design surface and causes the design host to call the OnPaint method.

Name Description
ControlDesigner.Invalidate () Invalidates the whole area of the control that is displayed on the design surface and signals the control designer to redraw the control.
ControlDesigner.Invalidate (Rectangle) Invalidates the specified area of the control that is displayed on the design surface and signals the control designer to redraw the control.
Design-Time Support for Web Forms OnPaint UpdateDesignTimeHtml
Show: