title: How Binding Class inside Class in Windows Phone
body: <p>My problem is this, i have a class Match:</p>
  
  <p><strong>Match.cs</strong></p>
  
  <pre><code>public class Match
      {
          public int Id { get; set; }
          public Team Team_1 { get; set; }
          public Team Team_2 { get; set; }
          public string Date { get; set; }
          public string Hour { get; set; }
          public string Local { get; set; }
          public string Statium { get; set; }
      }
  </code></pre>
  
  <p>and this class have Two objects <code>Team</code>, in Team i have this attributes:</p>
  
  <p><strong>Team.cs</strong></p>
  
  <pre><code> public class Team
      {
          public int Id { get; set; }
          public string Name { get; set; }
          public string Image { get; set; }
  ...
  </code></pre>
  
  <p>im try Binding the Match object in my view:</p>
  
  <pre><code> &lt;ListBox Name="lbMatches" Height="480" &gt;
                              &lt;ListBox.ItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                  &lt;StackPanel Orientation="Horizontal"&gt;
                                      &lt;StackPanel Width="60" Orientation="Vertical"&gt;
                                          &lt;TextBlock  Text="{Binding Date}" FontFamily="Segoe WP Semibold" /&gt;
                                          &lt;TextBlock Text="{Binding Hour}" FontFamily="Segoe WP Semibold"/&gt;
                                      &lt;/StackPanel&gt;
                                      &lt;TextBlock VerticalAlignment="Center" Text="Brazil" FontSize="32" FontFamily="Segoe WP Semibold" Margin="20,0,10,0"/&gt;
                                      &lt;Image Source="{Binding Thumb}"/&gt;
                                      &lt;TextBlock VerticalAlignment="Center" Text="x" FontSize="32" Margin="10,0" Opacity="0.8"/&gt;
                                      &lt;Image Source="/Assets/team_image/thumbs/croacia.png"/&gt;
                                      &lt;TextBlock VerticalAlignment="Center" Text="Croatia" FontSize="32" FontFamily="Segoe WP Semibold" Margin="10,0,20,0"/&gt;
  
                                  &lt;/StackPanel&gt;
                              &lt;/DataTemplate&gt;
                              &lt;/ListBox.ItemTemplate&gt;
                      &lt;/ListBox&gt;
  </code></pre>
  
  <p>But have a crucial duvid, how i make to acess the Name of Team Binding a Match ? bind the team of Match how make this ?</p>