Share via


ShapeElement.Invalidate Method (RectangleD)

Makes sure that the shape and its old ___location will be repainted at the end of the transaction.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Sub Invalidate ( _
    absoluteShapeBounds As RectangleD _
)
public void Invalidate(
    RectangleD absoluteShapeBounds
)
public:
void Invalidate(
    RectangleD absoluteShapeBounds
)
member Invalidate : 
        absoluteShapeBounds:RectangleD -> unit 
public function Invalidate(
    absoluteShapeBounds : RectangleD
)

Parameters

Remarks

If you have changed the position or size of the ShapeElement, you can use this method to makes sure that both the old ___location will be repainted. However, many operations call Invalidate() automatically.

.NET Framework Security

See Also

Reference

ShapeElement Class

Invalidate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace