Esempio n. 1
0
 private void LoadInheritNodes(AdaptivVieweNode beLoad, AdaptivVieweNode node)
 {
     if (beLoad != node)
     {
         InheritFromCollection.Add(node);
         foreach (var item in node.Children)
         {
             LoadInheritNodes(beLoad, item);
         }
     }
 }
Esempio n. 2
0
 /// <summary>
 /// load nodes that current selected node can inherit form
 /// </summary>
 private void LoadInherit()
 {
     InheritFromCollection.Clear();
     LoadInheritNodes(selectValue, RootNode);
 }