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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Sub PerformResizeParentRule ( _
shapeDeleting As Boolean, _
parent As ShapeElement _
)
'Usage
Dim instance As ShapeElement
Dim shapeDeleting As Boolean
Dim parent As ShapeElement
instance.PerformResizeParentRule(shapeDeleting, _
parent)
public void PerformResizeParentRule(
bool shapeDeleting,
ShapeElement parent
)
public:
void PerformResizeParentRule(
bool shapeDeleting,
ShapeElement^ parent
)
public function PerformResizeParentRule(
shapeDeleting : boolean,
parent : ShapeElement
)
Parameters
shapeDeleting
Type: System.Booleantrue to delete the parent shape; otherwise, false.
parent
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape.
Remarks
This method raises the ResizeParentRule event one time per iteration.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.