ControlDesigner.Invalidate Method (Rectangle)
.NET Framework 3.0
Invalidates the specified 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)
Assembly: System.Design (in system.design.dll)
public void Invalidate ( Rectangle rectangle )
public function Invalidate ( rectangle : Rectangle )
Not applicable.
Parameters
- rectangle
A Rectangle object that represents the area to invalidate, relative to the upper-left corner of the control.
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 a specific part of the control.
Community Additions
ADD
Show: