예제 #1
0
        public CssTree <CssTreeItem> AddChild(CssTreeItem value)
        {
            var node = new CssTree <CssTreeItem>(value)
            {
                Parent = this
            };

            _children.Add(node);
            return(node);
        }
예제 #2
0
 public bool RemoveChild(CssTree <CssTreeItem> node)
 {
     return(_children.Remove(node));
 }