public void RemoveAllChildren() { foreach (var item in _items) { item.Parent = null; } _items.Clear(); }