-3

Print screen:

http://imageshack.us/photo/my-images/253/bluebackground.png/

I have a treeViewItem and when I click on it, this damn blue selection appear inside it! Ive already tried to get the trigger isSelected in style. But doesnt SOLVE!

Help please!

H.B.
  • 166,899
  • 29
  • 327
  • 400
alansiqueira27
  • 8,129
  • 15
  • 67
  • 111
  • 2
    Can you please post some of the code so we know what you've done and how its setup? – John Nov 04 '11 at 17:30
  • 1
    You are clearly frustrated but that's your problem. You won't engender much sympathy with phrases like "how the hell", "damn blue selection" etc. And are we just meant to guess what this thing is? You know what it is? Instead of ranting how about calming down and spending some time explaining your problem? – David Heffernan Nov 04 '11 at 17:31
  • Yes some code would help. It does not look like a regular TreeViewItem selection. – Ucodia Nov 04 '11 at 17:32

1 Answers1

6

Oh the rage.

<TreeView.Resources>
    <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}">
        Transparent
    </SolidColorBrush>
    <SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}">
        Black
    </SolidColorBrush>
</TreeView.Resources>
H.B.
  • 166,899
  • 29
  • 327
  • 400