Table of Contents

Method AddItemWithCustomSize

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

AddItemWithCustomSize(DesignItem, DesignItem, Point, Size)

Adds the given item with the specified size.

public virtual bool AddItemWithCustomSize(DesignItem container, DesignItem createdItem, Point position, Size size)

Parameters

container DesignItem

The DesignItem that will contain the item to be added.

createdItem DesignItem

Created item to be added.

position Point

The position the item should get.

size Size

The new size of the item.

Returns

bool

True if the item is successfully added; otherwise, false.