title: XAML List conent from left to right, top to bottom
body: <p>I am using a WPF user control and a listview which is bound to some items. I would like to display the items in the listview from left to right, and then top to bottom. </p>
  
  <p>So far I have tried to put the code in a WrapPanel which is in a ItemPanel, but this only placed the items horizontally in a line!</p>
  
  <pre><code>        &lt;ListView Height="421" Width="500" x:Name="ReportsListBox" ItemTemplate="{DynamicResource ReportsTemplate}" VerticalContentAlignment="Center" MaxWidth="500"&gt;
          &lt;ListBox.ItemsPanel&gt;
              &lt;ItemsPanelTemplate&gt;
                  &lt;WrapPanel Orientation="Horizontal"/&gt;   
              &lt;/ItemsPanelTemplate&gt;
          &lt;/ListBox.ItemsPanel&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>Anyone know what I should do? I've searched the internet for this, but couldn't find much...</p>
  
  <p>Thanks</p>