Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to change Listbox Selected Item Background in Windows 8

$
0
0

<Style.Resources>

<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="DarkRed"/>

<SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="Red" />

<SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="DarkRed" />

</Style.Resources>

Above code works well on windows 7 but not on windows 8. How can i change

Listbox Selected Item background and foreground on Windows 8. I m using .Net 4.5

Please help. Thanks

                                             


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>