title: Databinding PivotItems to ObservableCollection on WP7
body: <p>I want to databind an ObservableCollection to a Pivot contronl in WP7 so that each object in my ObservableCollection becomes a PivotItem. This is the code I use:</p>
  
  <pre><code>    &lt;controls:Pivot x:Name="MainPivot" ItemsSource="{Binding Persons}"&gt;
          &lt;controls:Pivot.HeaderTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;TextBlock Text="{Binding FullName}"/&gt;
              &lt;/DataTemplate&gt;
          &lt;/controls:Pivot.HeaderTemplate&gt;
          &lt;controls:Pivot.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;StackPanel Margin="0,0,0,17" Width="432"&gt;
                      &lt;TextBlock Text="{Binding FirstName}"/&gt;
                      &lt;TextBlock Text="{Binding LastName}"/&gt;
                      &lt;TextBlock Text="{Binding HomeTown}"/&gt;
                  &lt;/StackPanel&gt;
              &lt;/DataTemplate&gt;
          &lt;/controls:Pivot.ItemTemplate&gt;
      &lt;/controls:Pivot&gt;
  </code></pre>
  
  <p>This works and with tre items in my ObservableCollection I get three PivotItems. But when everything gets loaded the binding inside the DataTemplate won´t get updated. It is only when I scroll to the next PivotItem that the FirstName, LastName and HomeTown gets loaded.</p>
  
  <p>Why is that? What am I missing?</p>
  
  <p>Thanks</p>