Example #1
0
 public virtual void Remove(IVisualElement child)
 {
     if (Children.Contains(child))
     {
         child.Parent = null;
         Children.Remove(child);
         child.Dispose();
     }
 }
Example #2
0
 public virtual void Remove(IVisualElement child)
 {
     if (Children.Contains(child))
     {
         child.Parent = null;
         Children.Remove(child);
         child.Dispose();
     }
 }