public void Reparent(ILayer newParent) { Parent.RemoveChild(Element); Parent = (LayerBase)newParent; Parent.AddChild(Element); }