I am searching for a WPF TreeView equivalent of TreeView.HideSelection = false. Does someone have an idea?
I am searching for a WPF TreeView equivalent of TreeView.HideSelection = false . Does
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If my understanding of
TreeView.HideSelectionis correct, place the following in your resources:Then use the style like so:
The default control template has the following trigger:
This changed the highlighting of the selected item when the selection was not active (i.e. did not have keyboard focus), by removing this trigger the standard highlighting is used even when it does not have focus.