Freigeben über


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

'Declaration
<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

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)