This documentation is archived and is not being maintained.
Control::Invalidate Method (Boolean)
Visual Studio 2010
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.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- invalidateChildren
- Type: System::Boolean
true to invalidate the control's child controls; otherwise, false.
Calling the Invalidate method does not force a synchronous paint; to force a synchronous paint, call the Update method after calling the Invalidate method. When this method is called with no parameters, the entire client area is added to the update region.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: