Table of Contents

Method WrapItemsNewContainer

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

WrapItemsNewContainer(IEnumerable<DesignItem>, Type, bool)

Wraps given items into the specified container.

public static Tuple<DesignItem, Rect> WrapItemsNewContainer(IEnumerable<DesignItem> items, Type containerType, bool doInsert = true)

Parameters

items IEnumerable<DesignItem>

List of DesignItem to wrap.

containerType Type

Container type.

doInsert bool

Allows insertion.

Returns

Tuple<DesignItem, Rect>

New container with dimentions.