Exemple #1
0
 public void ClearChildren()
 {
     needContentLayout = true;
     if (this.uiList != null)
     {
         this.uiList.Clear();
     }
     if (this.HasReadyRenderElement)
     {
         primElement.ClearAllChildren();
         if (this.panelLayoutKind != BoxContentLayoutKind.Absolute)
         {
             this.InvalidateLayout();
         }
     }
 }