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
'宣言
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
- 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.