title: Listpicker binding issue WP7
body: <p>I am having an issue when trying to bind an object I created to a listpicker. I have had success using a listpicker with strings and ints but I am running into issues when trying to use my own class/object.</p>
  
  <p>Here is the XML (I have two listpickers, one works and one doesn't)</p>
  
  <pre><code>                            &lt;toolkit:ListPicker 
                              x:Name="CountryListPicker" 
                              Margin="0,2,0,10" Width="458" 
                              BorderThickness="3" FullModeHeader="Country"
                              CacheMode="BitmapCache"&gt;
                              &lt;toolkit:ListPicker.ItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal"&gt;
                                          &lt;Border Background="LightBlue" Width="34" Height="34"&gt;
                                              &lt;TextBlock Text="{Binding _code}" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"/&gt;
                                          &lt;/Border&gt;
                                          &lt;TextBlock Text="{Binding _name}" Margin="12 0 0 0"/&gt;
                                      &lt;/StackPanel&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/toolkit:ListPicker.ItemTemplate&gt;
                              &lt;toolkit:ListPicker.FullModeItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal" Margin="0 21 0 20"&gt;
                                          &lt;TextBlock Text="{Binding _name}" Margin="16 0 0 0" FontSize="43" FontFamily="{StaticResource PhoneFontFamilyLight}"/&gt;
                                      &lt;/StackPanel&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/toolkit:ListPicker.FullModeItemTemplate&gt;
                          &lt;/toolkit:ListPicker&gt;
  
                          &lt;toolkit:ListPicker
                              x:Name="testPicker"
                              Header="Accent color" 
                              FullModeHeader="ACCENTS" 
                              CacheMode="BitmapCache"&gt;
                              &lt;toolkit:ListPicker.ItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal"&gt;
                                          &lt;TextBlock Text="{Binding}" Margin="12 0 0 0"/&gt;
                                      &lt;/StackPanel&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/toolkit:ListPicker.ItemTemplate&gt;
                              &lt;toolkit:ListPicker.FullModeItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal" Margin="0 21 0 20"&gt;
                                          &lt;TextBlock Text="{Binding}"
                                     Margin="16 0 0 0"
                                     FontSize="43"
                                     FontFamily="{StaticResource PhoneFontFamilyLight}"/&gt;
                                      &lt;/StackPanel&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/toolkit:ListPicker.FullModeItemTemplate&gt;
                          &lt;/toolkit:ListPicker&gt;`
  </code></pre>
  
  <p>The first list picker is my new object binding one and the second is binding a string.</p>
  
  <p>Here is the code behind:</p>
  
  <pre><code>        ObservableCollection&lt;Country&gt; countries = new ObservableCollection&lt;Country&gt;();
          countries.Add(new Country { _code = "US", _name = "United States1"});
          countries.Add(new Country { _code = "US", _name = "United States2" });
          countries.Add(new Country { _code = "US", _name = "United States3" });
          countries.Add(new Country { _code = "US", _name = "United States4" });
          countries.Add(new Country { _code = "US", _name = "United States5" });
          countries.Add(new Country { _code = "US", _name = "United States6" });
          this.CountryListPicker.ItemsSource = new ReadOnlyCollection&lt;Country&gt;(countries);
  
          ObservableCollection&lt;string&gt; _accentColors = new ObservableCollection&lt;string&gt;();
          _accentColors.Add("Blue");
          _accentColors.Add("Blue2");
          _accentColors.Add("Blue3");
          _accentColors.Add("Blue4");
          _accentColors.Add("Blue5");
          _accentColors.Add("Blue6");
          _accentColors.Add("Blue7");
          this.testPicker.ItemsSource = new ReadOnlyCollection&lt;string&gt;(_accentColors);
  </code></pre>
  
  <p>The 2nd listpicker is fine and I think this is because it contains strings.</p>
  
  <p>My broken listpicker displays all of the correct data but when I select a listpickeritem, it doesn't select it. The app loads the full listpicker and I click one of the items and when I return back to the main view the selected item isn't reflected in the listpicker. </p>
  
  <p>Anyone have any ideas? Need me to explain anymore?</p>