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
DesignItemThe
DesignItem
that will contain the item to be added.createdItem
DesignItemCreated item to be added.
position
PointThe position the item should get.
size
SizeThe new size of the item.
Returns
- bool
True if the item is successfully added; otherwise, false.