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 Medical3DControl
Dim region As Region
Dim invalidateChildren As Boolean
instance.Invalidate(region, invalidateChildren) |
Parameters
- region
- The System.Drawing.Region to invalidate.
- invalidateChildren
- true to invalidate the control's child controls; otherwise, false.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also