When I select an item thats already selected or I click inside the tree control not on any item I get that
rectangle that is a black dotted line.
How can I remove it all together??
I looked into the generic.xaml style but I couldnt find the dotted line. I found the active border, hover borders but not this dotted line....
Hi,
You have to retamplete the XamTreeItem and change the Stroke of the "FocusRectangle" element.
Add the XamTreeItem style to the resources (make sure to add the brushes and the XamTreeLeftMarginIndentationValueConverter, too) and set it as StaticResource to the ItemContainerStyle of the XamTree.
Tell me if need further assistance.
hi,
can i have a sample on how to do this?
thx