title: Changing color propery of Listbox on WP7
body: <p>I'm beginning with WP7 and I'm trying to change color and other properties of TexBlock. It is included on Listbox and binding to a collection. I am searching for a way like 'OnDataBound'. The value must change depend of the bind object.</p>
  
  <pre><code>&lt;ListBox HorizontalAlignment="Left"  Name="listBox1"  ItemsSource="{Binding}"  &gt;
                  &lt;ListBox.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;Border BorderBrush="{StaticResource PhoneForegroundBrush}" Width="418" BorderThickness="1" Margin="2"&gt;
                              &lt;StackPanel Orientation="Vertical" &gt;
                                  &lt;StackPanel Orientation="Horizontal"&gt;&lt;TextBlock Text="Charater: "/&gt;&lt;TextBlock Text="{Binding Path=CharacterName}" TextWrapping="Wrap" /&gt;&lt;/StackPanel&gt;
                                  &lt;StackPanel Orientation="Horizontal"&gt;&lt;TextBlock Text="Perk launched: "/&gt;&lt;TextBlock Text="{Binding Path=CreationDate}" TextWrapping="Wrap"/&gt;&lt;/StackPanel&gt;
                                  &lt;StackPanel Orientation="Horizontal"&gt;&lt;TextBlock Text="Finished at: "/&gt;&lt;TextBlock Text="{Binding Path=FinishedAt}" TextWrapping="Wrap"/&gt;&lt;/StackPanel&gt;
                                  &lt;StackPanel Orientation="Horizontal"&gt;&lt;TextBlock x:Name="TextBlockStatus" Text="Status: "/&gt;&lt;TextBlock Text="{Binding Path=Status}" TextWrapping="Wrap"/&gt;&lt;/StackPanel&gt;
                              &lt;/StackPanel&gt;
                          &lt;/Border&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListBox.ItemTemplate&gt;
              &lt;/ListBox&gt;
  </code></pre>
  
  <p>Depend of Status of binding object, I need change propery of Textblock (color, etc.)
  could you please tell me the stating point ?</p>
  
  <p>My binding is this follwing (in .cs):</p>
  
  <pre><code> this.listBox1.DataContext = this.calculatedValues;
  </code></pre>
  
  <p>thanks for your help</p>