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(RectangleD)

Makes sure that the shape and its old location 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.

Top

Remarks

You might need to call this if you have changed properties of the shape. However, it is not usually necessary because many operations call Invalidate automatically.

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace