user1744147
user1744147

Reputation: 1145

Style listview selected item in Windows Phone 8.1

How can I style listview selected item in XAML in Windows Phone 8.1?

Upvotes: 0

Views: 381

Answers (1)

user2250152
user2250152

Reputation: 20625

You have to change the style of the template ListViewItem which the ListView generates for each of the items that it renders. Your updated template needs to customise the Selected visual state. You can then associate this new template with your ListView via the ListView.ItemContainerStyle property.

Blend can be very helpful with this.

Upvotes: 1

Related Questions