title: Setting the GroupStyle.Panel of a ListView on Windows Phone
body: <p>I'm trying to create a <code>ListView</code> with grouping where the elements in each group are shown horizontally (as a scrollable content). No matter what I tried with the <code>GroupStyle.Panel</code> of the <code>ListView</code> it doesn't seem to have any effect on the list.</p>
  
  <p>Here is how my XAML looks:</p>
  
  <pre><code>  &lt;ListView x:Name="itemListView"
              Padding="10"                
              SelectionMode="None"
              IsSwipeEnabled="False"
              IsItemClickEnabled="True"
              ItemTemplate="{StaticResource listItemTemplate}"&gt;
       &lt;ListView.GroupStyle&gt;
          &lt;GroupStyle&gt;
             &lt;GroupStyle.Panel&gt;
                &lt;ItemsPanelTemplate&gt;
                   &lt;ItemsWrapGrid ItemWidth="144" Orientation="Horizontal" /&gt;
                &lt;/ItemsPanelTemplate&gt;
             &lt;/GroupStyle.Panel&gt;
             &lt;GroupStyle.HeaderTemplate&gt;
                &lt;DataTemplate&gt;
                   &lt;Grid&gt;
                      &lt;TextBlock Text="{Binding DisplayTitle}" 
                                 Margin="0,10,0,5"
                                 Foreground="Black"
                                 Style="{StaticResource SubheaderTextBlockStyle}" 
                                 TextWrapping="NoWrap" /&gt;
                   &lt;/Grid&gt;
                &lt;/DataTemplate&gt;
             &lt;/GroupStyle.HeaderTemplate&gt;
          &lt;/GroupStyle&gt;
       &lt;/ListView.GroupStyle&gt;
    &lt;/ListView&gt;
  </code></pre>
  
  <p>Where </p>
  
  <pre><code>&lt;Page.Resources&gt;
     &lt;DataTemplate x:Key="listItemTemplate"&gt;
        &lt;Grid Width="144" Margin="5"&gt;
           &lt;!-- details --&gt;
        &lt;/Grid&gt;
     &lt;/DataTemplate&gt;
  &lt;/Page.Resources&gt;
  </code></pre>
  
  <p>The following image shows on the left the actual result I get, and on the right what I want to have.</p>
  
  <p><img src="https://i.stack.imgur.com/RrPfX.png" alt="enter image description here"></p>
  
  <p>I tried using a <code>ItemsWrapGrid</code> with different properties, I tried a <code>StackPanel</code> and even an <code>VariableSizedWrapGrid</code>, but nothing changed in the way the list items are displayed.</p>
  
  <p>How can this be done?</p>