Share via


ShapeElement.Invalidate Method

Makes sure that the shape and its immediate surroundings will be repainted at the end of the transaction.

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

Syntax

'Declaration
Public Overridable Sub Invalidate
'Usage
Dim instance As ShapeElement

instance.Invalidate()
public virtual void Invalidate()
public:
virtual void Invalidate()
public function Invalidate()

Remarks

You might need to call this if you have changed properties of the shape. However, it is not usually necessary because many operations call Invalidate automatically.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Invalidate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace