Example #1
0
        void RemoveAt(SharpTreeNode parent, int index, SharpTreeNode node)
        {
            var i = List.IndexOf(node);

            foreach (var child in node.ExpandedDescendantsAndSelf())
            {
                RemoveAt(i);
            }
        }
Example #2
0
 void RemoveAt(SharpTreeNode parent, int index, SharpTreeNode node)
 {
     var i = List.IndexOf(node);
     foreach (var child in node.ExpandedDescendantsAndSelf()) {
         RemoveAt(i);
     }
 }