I have a WPF ListView that I\'m trying to apply a custom style too... primarily I want to make the background of the listview box transparent with no border... and I want to
This approach of trying to override the system colours doesn't work on Windows 8 and later.
You need to modify the ControlTemplate
of the ListViewItem
container.
You can copy the default template into your XAML markup by right-clicking on the ListView
in design mode in Visual Studio or in Blend and choose Edit Additional Templates->Edit Generated Item Container (ItemContainerStyle) and then edit it as per your requirements by for example changing the Color
properties of the SolidColorBrush
es: