public void RemoveChild(UIElement ui)
{
needContentLayout = true;
this.uiList.RemoveUI(ui);
if (this.HasReadyRenderElement)
{
if (this.ContentLayoutKind != BoxContentLayoutKind.Absolute)
{
this.InvalidateLayout();
}
this.primElement.RemoveChild(ui.CurrentPrimaryRenderElement);
}
}
public void ClearChildren()