Related questions
Setting IsExpanded on a WPF TreeViewItem from a DataTrigger
I'm trying to set the IsExpanded property of my TreeView items using a conditional template, in the XAML:
<DataTrigger Binding="{Binding MyStatus}" Value="Opened">
<Setter TargetName="MyTextBlock" Property="Foreground" Value="Green"/>
<Setter Property="TreeViewItem.IsExpanded" …
WPF treeview item background over entire row
i am writing one app and i need to set background under entire row by items. I found some inspiration in here but i cannot get idea how to get Border background value in template (the problem is a bit …