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

'Declaration
Public Sub Refresh
public void Refresh()
public:
void Refresh()
member Refresh : unit -> unit
public function Refresh()

Remarks

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.

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

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)