Version

Invalidate(Region,Boolean) Method

Invalidates the specified region of the control and causes a paint message to be posted to the control.
Syntax
'Declaration
 
Public Overloads Shadows Sub Invalidate( _
   ByVal region As Region, _
   ByVal invalidateChildren As Boolean _
) 
public new void Invalidate( 
   Region region,
   bool invalidateChildren
)

Parameters

region
Represents the region to invalidate.
invalidateChildren
Indicates whether to invalidate the child controls as well.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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