ControlDesigner.Invalidate Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Invalidates the whole area of the control that is displayed on the design surface and signals the control designer to redraw the control.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

Public Sub Invalidate

To enable the control designer to handle paint events, use the SetViewFlags method in the Initialize method.

The Invalidate method provides the design host with a way to instruct the control designer to redraw the control. Essentially, this is the same as calling UpdateDesignTimeHtml method, because it causes the whole control to be redrawn.

.NET Framework
Available since 2.0
Return to top
Show: