/// <summary>Removes the given child from this element.</summary> /// <param name="element">The child element to remove.</param> public void removeChild(Element element){ if(ChildNodes!=null){ ChildNodes.Remove(element); } element.ParentNode=null; element.RemovedFromDOM(); Document.Renderer.RequestLayout(); }