Shape.Invalidated Event
Occurs when a shape's display requires redrawing.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaração
<BrowsableAttribute(False)> _
Public Event Invalidated As InvalidateEventHandler
[BrowsableAttribute(false)]
public event InvalidateEventHandler Invalidated
[BrowsableAttribute(false)]
public:
event InvalidateEventHandler^ Invalidated {
void add (InvalidateEventHandler^ value);
void remove (InvalidateEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member Invalidated : IEvent<InvalidateEventHandler,
InvalidateEventArgs>
JScript does not support events.
Remarks
The Invalidated event occurs in response to the Invalidate method, which is typically used to force the redrawing of a shape.
For more information about how to handle events, see Consuming Events.
.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)