Control.Refresh Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
public:
virtual void Refresh();
public virtual void Refresh ();
abstract member Refresh : unit -> unit
override this.Refresh : unit -> unit
Public Overridable Sub 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.
Applies to
See also
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.