Here is a simple code that exposes my problem :
<Grid>
<TreeView Name="myTreeViewEvent" >
<TreeViewItem Header="Employee1"/>
</TreeView>
<TreeView Name="myTreeViewEvent2" >
<TreeViewItem Header="Employee2"/>
</TreeView>
</Grid>
The thing is that my 2nd Treeview “overwrites” the 1st one…
Is there a way to change the behaviour so that the 2nd Treeview is “added” to the 1st one ?
(nb : no, I can’t put them in the same Treeview cause in my “real” code, I got 2 different Treeviews that I CAN’T merge… and I gotta display them in the same grid !)
Try this
EDIT
Then what prevents you from using this approach?
In this case there is no strict division. The items will strech up.