Makes sure that the shape and its immediate surroundings will be repainted at the end of the transaction.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
'Declaration Public Overridable Sub Invalidate
public virtual void Invalidate()
public: virtual void Invalidate()
abstract Invalidate : unit -> unit override Invalidate : unit -> unit
public function Invalidate()
You might need to call this if you have changed properties of the shape. However, 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.