Search
ContainerNode.ResizeToFitChildren Method
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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 Size specifying size of margin space left around container's child items.

 See Also