title: How to change color of the selected ListView item [WP8.1]
body: <p>I'm working on a C# project for Windows Phone 8.1, and I can't believe that I've already wasted almost a day looking for a solution to such a trivial problem:</p>
  
  <p>I have a page defined with XAML, on that page I have a ListView. At some point, I want one of the list view items to become selected, so I call myListView.SelectedIndex = whatever. Now I want that item to be distinguished visually from other items, for example, have its text drawn with a different color. How do I do that? Here are the relevant parts of code:</p>
  
  <pre><code>&lt;Page.Resources&gt;
      &lt;DataTemplate x:Key="myListItemTemplate"&gt;
          &lt;TextBlock 
              Text="{Binding displayName}" 
              Style="{ThemeResource ListViewItemTextBlockStyle}"
              /&gt;
     &lt;/DataTemplate&gt;
  &lt;/Page.Resources&gt;
  
  &lt;ListView 
      x:Name="myListView" 
      ItemsSource="{Binding}" 
      ItemTemplate="{StaticResource myListItemTemplate}" 
      &gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>Is it possible with XAML alone? Or can in be done in the C# code, just when I set myListView.SelectedIndex value?</p>
  
  <p>Thanks!</p>