WPF "defaults"? - Display issues
Posted on 2014-01-16
I designed a ListView using WPF, and - for example - for the selected Items I have a nice looking background gradient:
<Condition Property="ListBoxItem.IsSelected" Value="True"/>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="1,0">
<GradientStop Color="#FFFFD1FF" Offset="0.986"/>
<GradientStop Color="#FFF8B2F8" Offset="0.5"/>
However, when I run this application on a Windows Server Standard edition it reverts back to the standard look and feel for a ListView, so the selected item has black text on a dark blue background.
First of all... is there anything I can do to stop this? To make the listview behave the same across the board.
Failing that, can I change the "fallback" scheme for the ListView. So basically I'd be instructing the system to use the LinearGradientBrush IF IT CAN, but if not, then at least use a paler solid background brush instead?