ShapeElement::PerformResizeParentRule Method (Boolean, ShapeElement^)

 

Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes.

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

public:
void PerformResizeParentRule(
	bool shapeDeleting,
	ShapeElement^ parent
)

Parameters

shapeDeleting
Type: System::Boolean

true to delete the parent shape; otherwise, false.

parent
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The parent shape.

This method raises the T:Microsoft.VisualStudio.Modeling.Diagrams.ResizeParentRule event one time per iteration.

Return to top
Show: