How to get ChildNodes of selected node in DevExpress XtraTreeList?

12,230

Use the TreeListNodesIterator.DoLocalOperation method to iterate via child nodes of specific node and the TreeListNode.GetValue method to obtain child nodes IDs.

Related links:

Share:
12,230
AndroidLearner
Author by

AndroidLearner

I love to learn new things and share things with others

Updated on June 27, 2022

Comments

  • AndroidLearner
    AndroidLearner almost 2 years

    I am using DevExpress XtraTreeList. There are no checkboxes used. I want to get all childnode IDs of selected node. Note I already got ID of selected node, I just want to get IDs of child nodes of selected nodes.

  • AndroidLearner
    AndroidLearner over 11 years
    Sorry I was unable to to use this thing, i used simple recursive method and got all child nodes :)
  • AndroidLearner
    AndroidLearner over 11 years
    but your effort is also some how good and that was a good answer :)