AddItemWithDefaultSize Method
AddItemWithDefaultSize(DesignItem, Type, Size)
Declaration
public static bool AddItemWithDefaultSize(DesignItem container, Type createdItem, Size size)
Parameters
Type | Name | Description |
---|---|---|
DesignItem | container | |
System.Type | createdItem | |
System.Windows.Size | size |
Returns
Type | Description |
---|---|
System.Boolean |
AddItemWithDefaultSize(DesignItem, DesignItem, Point)
Declaration
public virtual bool AddItemWithDefaultSize(DesignItem container, DesignItem createdItem, Point position)
Parameters
Type | Name | Description |
---|---|---|
DesignItem | container | |
DesignItem | createdItem | |
System.Windows.Point | position |
Returns
Type | Description |
---|---|
System.Boolean |