Method TryStartInsertNewComponents
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
TryStartInsertNewComponents(DesignItem, IList<DesignItem>, IList<Rect>, PlacementType)
Try to insert new components into the container.
public static PlacementOperation TryStartInsertNewComponents(DesignItem container, IList<DesignItem> placedItems, IList<Rect> positions, PlacementType type)
Parameters
container
DesignItemThe container that should become the parent of the components.
placedItems
IList<DesignItem>The components to add to the container.
positions
IList<Rect>The rectangle specifying the position the element should get.
type
PlacementTypeThe type
Returns
- PlacementOperation
The operation that inserts the new components, or null if inserting is not possible.