Freigeben über


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Overridable Sub Invalidate
public virtual void Invalidate()
public:
virtual void Invalidate()
abstract Invalidate : unit -> unit 
override Invalidate : unit -> unit 
public function Invalidate()

Remarks

You might need to call this if you have changed properties of the shape. However, many operations call Invalidate() automatically.

.NET Framework Security

See Also

Reference

ShapeElement Class

Invalidate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace