Display hierarchy tree using WinForms c#

Tuesday, July 8, 2014

I have hierarchical data structure that consists of objects like:

Class A
*some properties
*list<A> SubNodes

Right now I need to display this hierarchy in some kind of visual tree. I'm using WinForms C#/ Can you please advice me how I can disply tree like that. Standart TreeView have no DataSource property and DevExpress XtraTreeView use DataSource plain source with Id/ParentID relation. I've used XtraGrid, but I cant configure details view correctly. Could you please tell me in which way I could handle this problem?