title: listbox not showing all items windows phone 8.1
body: <p>I'm trying to populate a listbox using binding in windows phone 8.1. I can't see all of the items in the control.</p>
  
  <p>XAML:</p>
  
  <pre><code>&lt;Grid x:Name="LayoutRoot"&gt;
      &lt;Grid.ChildrenTransitions&gt;
          &lt;TransitionCollection&gt;
              &lt;EntranceThemeTransition/&gt;
          &lt;/TransitionCollection&gt;
      &lt;/Grid.ChildrenTransitions&gt;
  
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto"/&gt;
          &lt;RowDefinition Height="*"/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
      &lt;!-- Title Panel --&gt;
      &lt;StackPanel Grid.Row="0" Margin="19,0,0,0"&gt;
          &lt;TextBlock Text="Application Name" Style="{ThemeResource HeaderTextBlockStyle}" CharacterSpacing="{ThemeResource PivotHeaderItemCharacterSpacing}"/&gt;
      &lt;/StackPanel&gt;
  
      &lt;StackPanel Grid.Row="1" x:Name="ContentRoot" Margin="19,0,19,0"&gt;
          &lt;ComboBox 
              x:Name="ComboBox1"
              ItemsSource="{Binding}"
              HorizontalAlignment="Stretch" 
              VerticalAlignment="Top" 
              SelectionChanged="ComboBox1_SelectionChanged"
              /&gt;
  
          &lt;ListBox x:Name="ListBox1" ItemsSource="{Binding}" Height="1000"&gt;
              &lt;ListBox.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;StackPanel Orientation="Vertical" Margin="0"&gt;
                          &lt;TextBlock Text="{Binding GameName}" Margin="2"/&gt;
                      &lt;/StackPanel&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListBox.ItemTemplate&gt;
          &lt;/ListBox&gt;
      &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>I populate the listbox in code:</p>
  
  <pre><code>private ObservableCollection&lt;Game&gt; _Games = new ObservableCollection&lt;Game&gt;();
  public StartPage()
  {
      this.InitializeComponent();
      this.navigationHelper = new NavigationHelper(this);
      this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
      this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
  
      ListBox1.DataContext = _Games;
  }
  ....
  private async void ComboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
  {
      var group = _Groups[ComboBox1.SelectedIndex];
      games = await DataServer.GetGamesAsync(group.GroupName);
      _Games.Clear();
  
      foreach (var game in games.OrderBy(g =&gt; g.GameName))
      {
         _Games.Add(game);
      }
  }
  </code></pre>
  
  <p>There are 69 games but I can only see about 28 in the list view in the emulator when I scroll the list. It's clear that there are more items in the list, but I can't scroll to them. Any help is appreciated.</p>