views:

116

answers:

2

Hi all!

I am implementig a simple interpreter and I am looking for a control to represent my variables in a watch list, just like in Visual Studio (tree structure + table):

alt text

Do you know any controls for this purpose? If no, give some ideas how it can be implemented.

Regards, Lerax

A: 

Hi Lerax,

I've seen something similar in syncfusion grid:

alt text

Infragistics and teleric also have something alike. While writing this I found one more controls library: DlhSoft Hierarchical Data Library. It looks like they have exactly what you want: TreeListView Control.

alt text

By the way, in VS 2010, it's not true WPF control. Snoop showed it's hosted inside some kind of HwndHost panel.

If you don't want to buy 3rd parties, you could write it yourself. I would start from TreeView, and customize TreeViewItem. To create columns I would try shared grid size scopes. On big data sets it will be slow though.

Hope this helps you start going.

Anvaka
+1  A: 

Try to search for "treeListview" in google.

http://blogs.msdn.com/atc%5Favalon%5Fteam/archive/2006/03/01/541206.aspx

The Man