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. Optionally, invalidates the child controls assigned to the control.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim region As Region
Dim invalidateChildren As Boolean
instance.Invalidate(region, invalidateChildren)
|
Parameters
- region
- The Region to invalidate.
- invalidateChildren
- true to invalidate the control's child controls; otherwise, false.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also