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
'Declaração
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
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)