Shape.Refresh Method ()
Forces a control to invalidate its client area and immediately redraw itself and any child controls.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
public void Refresh()
public:
void Refresh()
member Refresh : unit -> unit
Public Sub Refresh
Notes to Inheritors:
When you override Refresh in a derived class, be sure to call the Refresh method so the control and its child controls are invalidated and redrawn.
See Also
Shape Class
Microsoft.VisualBasic.PowerPacks Namespace
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)
Introduction to the Line and Shape Controls (Visual Studio)
Return to top