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()
[C#]
public virtual void Refresh();
[C++]
public: virtual void Refresh();
[JScript]
public function Refresh();

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft