public static bool AddItemWithCustomSizePosition(DesignItem container, Type createdItem, Size size, Point position) { CreateComponentTool cct = new CreateComponentTool(createdItem); return AddItemWithCustomSize(container, cct.CreateItem(container.Context), position, size); }