Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Sub Invalidate( _
ByVal invalidateChildren As System.Boolean _
) |
Parameters
- invalidateChildren
- true to invalidate the control's child controls; otherwise, false.
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