Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Sub Invalidate( _
ByVal region As System.Drawing.Region _
) |
| C# | |
|---|
public void Invalidate(
System.Drawing.Region region
) |
Parameters
- region
- The System.Drawing.Region to invalidate.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also