แก้ไข

แชร์ผ่าน


Control.Refresh Method

Definition

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