Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

© 2015 Microsoft