Esempio n. 1
0
        public CssTree <CssTreeItem> AddChild(CssTreeItem value)
        {
            var node = new CssTree <CssTreeItem>(value)
            {
                Parent = this
            };

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