Method AddItemWithCustomSizePosition
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
AddItemWithCustomSizePosition(DesignItem, Type, Size, Point)
When implemented by a class, adds the given item with the specified size and position.
public static bool AddItemWithCustomSizePosition(DesignItem container, Type createdItem, Size size, Point position)
Parameters
container
DesignItemThe
DesignItem
that will contain the item to be added.createdItem
TypeCreated item to be added.
size
SizeThe new size of the item.
position
PointThe position the item should get.
Returns
- bool
True if the item is successfully added; otherwise, false.