WPF #1,218 - Stretching Items in TreeView across Entire Control

added by DotNetKicks
9/25/2017 1:11:32 PM

2 Kicks, 200 Views

You can define a custom data template for items in a TreeView, displaying any content you like in a panel, for each data item. There's a problem with doing this, however, if you want the container in the data template to stretch the entire width of the TreeView.