Partilhar via


ShapeElement.Invalidate Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Invalidate() Makes sure that the shape and its immediate surroundings will be repainted at the end of the transaction.
Public method Invalidate(Boolean) Makes sure that the shape will be repainted at the end of the transaction. Call this if you have changed properties of the shape.
Public method Invalidate(RectangleD) Makes sure that the shape and its old location will be repainted at the end of the transaction.

Top

Remarks

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

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace