How can I change selected item's background color in Windows Phone?
问题 How can I change selected item's background color that in listbox which has datatemplate in Windows Phone? I have seen that it can be with Setter Properties. Where I will write them? Thanks. Code <ListBox x:Name="listLocs" HorizontalAlignment="Left" Height="605" VerticalAlignment="Top" Width="250" SelectionChanged="listLocs_SelectionChanged" Margin="10,155,0,0" BorderBrush="#FF030042" BorderThickness="2" Foreground="#FF030042"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation=