This documentation is archived and is not being maintained.

Control.Refresh Method

Forces the control to invalidate its client area and immediately redraw itself and any child controls.

[Visual Basic]
Public Overridable Sub Refresh()
public virtual void Refresh();
public: virtual void Refresh();
public function Refresh();


Notes to Inheritors:  When overriding Refresh in a derived class, be sure to call the base class's Refresh method so the control and its child controls are invalidated and redrawn.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Update | Invalidate