Method CanInsert
- Namespace
- Alternet.FormDesigner.Wpf.Outline
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
CanInsert(IEnumerable<IOutlineNode>, IOutlineNode, bool)
Indicates whether the node can be inserted into the specified collection after given child.
public bool CanInsert(IEnumerable<IOutlineNode> nodes, IOutlineNode after, bool copy)
Parameters
nodes
IEnumerable<IOutlineNode>The list into which the insertion will be carried out.
after
IOutlineNodeIOutlineNode
child element after which insertion will be.copy
boolSpecifies whether node should be copied or moved.
Returns
- bool
True if insertion possible; otherwise, false.