In a ListView
there are ListviewItems
where they must not change appearance when the mouse is over them or they are selected.
I tried to a
I had the same problem, but none of the answers helped me. Searching on the web i found this solution and it worked:
<ListView.Resources>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<GridViewRowPresenter />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListView.Resources>