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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

声明
Public Sub PerformResizeParentRule ( _
    shapeDeleting As Boolean, _
    parent As ShapeElement _
)
public void PerformResizeParentRule(
    bool shapeDeleting,
    ShapeElement parent
)
public:
void PerformResizeParentRule(
    bool shapeDeleting, 
    ShapeElement^ parent
)
member PerformResizeParentRule : 
        shapeDeleting:bool * 
        parent:ShapeElement -> unit 
public function PerformResizeParentRule(
    shapeDeleting : boolean, 
    parent : ShapeElement
)

Parameters

  • shapeDeleting
    Type: System.Boolean
    true to delete the parent shape; otherwise, false.

Remarks

This method raises the ResizeParentRule event one time per iteration.

.NET Framework Security

See Also

Reference

ShapeElement Class

PerformResizeParentRule Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace