I've the WPF application that has MahApps Metro library embedded for more beautiful appearance.
What bothers me is ListViewItem colour on borders of it when I hover over it. So I want to change it. Only solutions I've found are something like this:
<ListView.Resources>
<Style TargetType="TextBlock">
<Style.Triggers>
<DataTrigger Binding="{Binding IsSelected, RelativeSourcValue="True">
<Setter Property="Foreground" Value="White" />
</Trigger>
</Style.Triggers>
</Style>
</ListView.Resources>
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem" x:Key="ContainerStyle">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="Red" />
</Trigger>
</Style.Triggers>
</Style>
</ListView.ItemContainerStyle>
But it doesn't work for me and what is interesting - the 'borderthichness' actually overrides, but not colour. I'm also fairly new to WPF, so I can't wrap my mind around what should be done in order to just change hover over colour of the borders? If anyone got an idea, please instruct me.