共用方式為


Diagram.Invalidate Method

Include Protected Members
Include Inherited Members

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() Invalidates shapes in the diagram. (Overrides ShapeElement.Invalidate().)
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. (Inherited from ShapeElement.)
Public method Invalidate(RectangleD) Makes sure that the shape and its old location will be repainted at the end of the transaction. (Inherited from ShapeElement.)

Top

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace