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
- 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.