Method AddItemWithCustomSize
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
AddItemWithCustomSize(DesignItem, DesignItem, Point, Size)
When implemented by a class, adds the given item with the specified size.
bool AddItemWithCustomSize(DesignItem container, DesignItem createdItem, Point position, Size size)
Parameters
containerDesignItemThe
DesignItemthat will contain the item to be added.createdItemDesignItemCreated item to be added.
positionPointThe position the item should get.
sizeSizeThe new size of the item.
Returns
- bool
True if the item is successfully added; otherwise, false.