This topic has not yet been rated - Rate this topic

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.

Calling UpdateDesignTimeHtml method also calls Invalidate method.

Design-Time Support for Web Forms OnPaint UpdateDesignTimeHtml
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.