MAUI Pack Programmer's Guide
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,
    Nullable<Double> margin
)

Visual Basic  Copy Code

Public Sub ResizeToFitChildren( _
    allowShrink As Boolean, _
    margin As Nullable(Of Double) _
)

 Parameters

allowShrink

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

margin

An optional double specifying size of margin space left around container's child items.

 See Also

ContainerNode Members
ContainerNode Class
MindFusion.Diagramming Namespace
Children Property
AutoGrow Property
AutoShrink Property