Closed mrmelon54 closed 3 years ago
Well I figured something out and it works even if it is a little hacky lol
Well I figured something out and it works even if it is a little hacky lol
What is your solution? I'm having the same problem and found no solution (I also searched online without success).
I recon it was probably this line:
ItemContainerStyle = (Style)Parent.GetValue(ItemContainerStyleProperty);
but I haven't worked on that project in so long so I have no idea if that was actually the fix?
Here is an example of my styling issue: Here is my xaml source for the tree view
I am adding the items dynamically in the code using a class which extends
TreeViewItem
and edits the Header and other properties in the constructor.