Exemplo n.º 1
0
 public void DeSelectAllChildsOfNode(NodeControl nodeControl)
 {
     foreach (var control in nodeControl.GetAllNodeControls())
     {
         RemoveNode(control);
     }
 }
 private void FindChildrenNodeControls()
 {
     if (_isParentIncluded)
     {
         if (_checkOneLevel)
         {
             var nodes = new List <NodeControl> {
                 _nodeControl
             };
             nodes.AddRange(_nodeControl.ChildNodes);
             NodeControls = nodes;
         }
         else
         {
             NodeControls = _nodeControl.GetAllNodeControls();
         }
     }
     else
     {
         if (_checkOneLevel)
         {
             NodeControls = _nodeControl.ChildNodes;
         }
         else
         {
             NodeControls = _nodeControl.GetAllChildNodeControls();
         }
     }
 }
Exemplo n.º 3
0
 public void SelectAllChildsOfNode(NodeControl nodeControl)
 {
     foreach (var control in nodeControl.GetAllNodeControls())
     {
         AddNode(control, false);
     }
 }