Remove Highlight Effect from ListViewItem

I don’t know if this is the only solution but I did it as follows (by setting the Template property of the ListViewItems): <ListView.ItemContainerStyle> <Style TargetType=”{x:Type ListViewItem}”> <Setter Property=”Background” Value=”Transparent” /> <Setter Property=”Template”> <Setter.Value> <ControlTemplate TargetType=”{x:Type ListViewItem}”> <Border BorderBrush=”Transparent” BorderThickness=”0″ Background=”{TemplateBinding Background}”> <GridViewRowPresenter HorizontalAlignment=”Stretch” VerticalAlignment=”{TemplateBinding VerticalContentAlignment}” Width=”Auto” Margin=”0″ Content=”{TemplateBinding Content}”/> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> … Read more

UWP Binding in Style Setter not working

As noted in the section Migration notes on the Setter.Value property page on MSDN, UWP/Windows Runtime does not support bindings in Style Setters. Windows Presentation Foundation (WPF) and Microsoft Silverlight supported the ability to use a Binding expression to supply the Value for a Setter in a Style. The Windows Runtime doesn’t support a Binding … Read more

tech