Creating a WPF Hybrid Control (TreeView + DataGrid = DataTreeGrid)

NemoStein picture NemoStein · Mar 31, 2011 · Viewed 28.1k times · Source

I need to create a TreeView that hold synchronized data, like a DataGrid.

To clarify, take a look at this image:
DataTreeGrid Custom Control

So, I have a TreeView at left side with columns at right side.
The data will come from objects like this:

public NodeData Parent;
public List<NodeData> Children;

public String Label;

public Boolean DataA;
public Boolean DataB;
public Boolean DataC;
public Boolean DataX;
public Boolean DataY;
public Boolean DataZ;

How can I create this?

Answer

Wegged picture Wegged · Mar 31, 2011

This blog entry from Marius Rochon may help you.