ShapeElement::Invalidate Method (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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void Invalidate(
	bool refreshBitmap
)

Parameters

refreshBitmap
Type: System::Boolean

true to refresh the shape's bitmap when the shape is invalidated; otherwise, false.

This method allows you to redraw the outline and background of the shape. However, many operations call this automatically, so that you might not need to call this explicitly.

Return to top
Show: