title: Changing an item color of a LongListSelector or Listbox that is binded
body: <p>I have been trying to change the color of a <code>TextBlock</code> in a <code>ListBox</code> that gets it's color from a binding.</p>
  
  <pre><code>&lt;TextBlock Text="{Binding Title}" TextWrapping="Wrap" Foreground="{Binding ItemColor, Converter={StaticResource ColorConverter}}" Style="{StaticResource posttitle}" d:LayoutOverrides="Width"/&gt;
  </code></pre>
  
  <p>Here's the converter which works during the initial render:</p>
  
  <pre><code>public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
  {
      if (value == null)
          return new SolidColorBrush(Colors.Red);
  
      Color colorValue = (Color)value;
  
      return new SolidColorBrush(colorValue);
  }
  </code></pre>
  
  <p>During the SelectionChanged Event I assigned a new color to the item like this:</p>
  
  <pre><code>private void List_SelectionChanged(object sender, SelectionChangedEventArgs e)
  {
      var listbox = (LongListSelector)sender;
  
      if (listbox.SelectedItem == null)
          return;
  
      MyItem item = (MyItem)listbox.SelectedItem;
  
      if (item.Clicked)
      {
          // Change some value
          item.Clicked = true;
          item.ItemColor = new Color() { A = 0xFF, R = 0xBD, G = 0xB7, B = 0x6B };
      }
  }
  </code></pre>
  
  <p>If I put a breakpoint and check the datacontext, I can see that the value in the source has changed but visually the <code>LongListSelector</code> is not changing the look. The binding is to an <code>ObservableCollection</code> and <code>ItemColor</code> does notify of the change.</p>
  
  <p>Any help appreciated.</p>