How to get ChildNodes of selected node in DevExpress XtraTreeList?

AndroidLearner picture AndroidLearner · Sep 10, 2012 · Viewed 12k times · Source

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.

Answer

DmitryG picture DmitryG · Sep 10, 2012

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: