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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.