Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 267
NemoStein Avatar asked Mar 31 '11 15:03

NemoStein


1 Answers

This blog entry from Marius Rochon may help you.

like image 95
Wegged Avatar answered Sep 25 '22 12:09

Wegged