Search
ContainerNode.ResizeToFitChildren Method
See Also
 





Resizes the container making it big enough to contain its child nodes.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ResizeToFitChildren (
    bool allowShrink,
    Size margins
)

Visual Basic  Copy Code

Public Sub ResizeToFitChildren( _
    allowShrink As Boolean, _
    margins As Size _
)

 Parameters

allowShrink

true to allow reducing container's size, or false otherwise.

margins

A Microsoft.Maui.Graphics.Size specifying size of margin space left around container's child items.

 See Also