title: how to display a list of objects in a grid
body: <p>I know this question sounds trivial but since I am new to windows phone development i cannot seem to understand how to do this in my scenario.</p>
  
  <p>I have a </p>
  
  <pre><code>List&lt;Forecast&gt; forecasts
  </code></pre>
  
  <p>which i want to connect to my WeatherInfoBar</p>
  
  <pre><code>&lt;Grid x:Name="WeatherInfoLowBar" Height="300" VerticalAlignment="Bottom"&gt;
      &lt;StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,0,0,0"&gt;
          &lt;StackPanel Grid.Row="4" Height="40" Orientation="Horizontal" Margin="0,0,0,0"&gt;
              &lt;TextBlock Text="Date" FontSize="22" TextAlignment="Left" Width="170"/&gt;
              &lt;TextBlock Text="FC" FontSize="22" TextAlignment="Left" Width="60"/&gt;
              &lt;TextBlock Text="Max" FontSize="22" TextAlignment="Right" Width="60"/&gt;
              &lt;TextBlock Text="Min" FontSize="22" TextAlignment="Right" Width="90"/&gt;
          &lt;/StackPanel&gt;
          &lt;Grid &gt;
              &lt;StackPanel Height="40" Orientation="Horizontal" Margin="0,10,0,0"&gt;
                  &lt;TextBlock Text="{Binding date}" FontSize="22" TextAlignment="Left" Width="150"/&gt;
                  &lt;TextBlock Text="   " FontSize="20"/&gt;
                  &lt;Image Source="{Binding weatherIconUrl}" Width="40" Height="40"/&gt;
                  &lt;TextBlock Text="   " FontSize="20"/&gt;
                  &lt;TextBlock Text="{Binding tempMaxC, StringFormat='\{0\} °C'}" FontSize="22" TextAlignment="Right" Width="70"/&gt;
                  &lt;TextBlock Text="   " FontSize="20"/&gt;
                  &lt;TextBlock Text="{Binding tempMinC, StringFormat='\{0\} °C'}" FontSize="22" TextAlignment="Right" Width="70"/&gt;
              &lt;/StackPanel&gt;
          &lt;/Grid&gt;
      &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>In code behind </p>
  
  <pre><code>WeatherInfoLowBar.DataContext = wio.forecasts;
  
  for (int i = 0; i &lt; wio.forecasts.Count(); i++ )
              // what code goes in here ???
  </code></pre>