1

I want to change the background colour to Transparent of a Selected item of ListView. My code :

<Grid>
<ListView IsItemClickEnabled="True"
          ItemClick="ListView_ItemClick">
                                <ListViewItem>
                                    <StackPanel Orientation="Horizontal">
                                        <SymbolIcon Symbol="AlignCenter"
                                            Foreground="White" />
                                        <TextBlock Text="MAPS"
                                            Foreground="White" />
                                    </StackPanel>
                                </ListViewItem>
                            </ListView>
</Grid>

SO, what i want is change the background colour to transparent when an Item is being selected from the ListView. Is it possible in XAML with UWP?

Yeasin Abedin
  • 2,081
  • 4
  • 23
  • 41
  • 4
    Possible duplicate of [How to change Highlight color of the selected ListView item in UWP (Windows 10)](http://stackoverflow.com/questions/32302146/how-to-change-highlight-color-of-the-selected-listview-item-in-uwp-windows-10) – Stefan Fabian May 13 '16 at 19:27
  • Yes. that is exactly what I was looking for. Solved my problem. Thanks :) – Yeasin Abedin May 13 '16 at 19:34
  • 1
    No problem. That's also the first google result when you google your question + "uwp" ;) – Stefan Fabian May 13 '16 at 19:39

0 Answers0