Share via


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

[BrowsableAttribute(false)]
public event InvalidateEventHandler Invalidated
public:
[BrowsableAttribute(false)]
event InvalidateEventHandler^ Invalidated {
    void add(InvalidateEventHandler^ value);
    void remove(InvalidateEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member Invalidated : IEvent<InvalidateEventHandler,
    InvalidateEventArgs>
<BrowsableAttribute(False)>
Public Event Invalidated As InvalidateEventHandler

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 Handling and Raising Events.

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