title: Multi Column Listbox
body: <p>I'm needed to create a list box as in below format;</p>
  
  <pre><code>[x]    [x]   ^
  [x]    [x]   |
  [x]    [x]   | ----&gt; this is a side scroll and the [x] are pictures
  [x]    [x]   |
  </code></pre>
  
  <p>How can I do it? Here is my code now.</p>
  
  <pre><code>      &lt;controls:PanoramaItem Header="New one"  Name="Pan1" &gt;
                  &lt;ListBox Margin="0,0,-12,0" x:Name="NewTitlesListBox" 
                           ItemsSource="{Binding NewPicturesLocal}" 
                           SelectionChanged="NewListBoxSelectionChanged"&gt;
  
                      &lt;ListBox.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;StackPanel Orientation="Horizontal" Margin="0,0,0,20"&gt;
     &lt;Image  Width="110" CacheMode="BitmapCache" Source="{Binding ThumbURL}" 
                                      Margin="12,0,9,0"/&gt;
  
                              &lt;/StackPanel&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListBox.ItemTemplate&gt;
                  &lt;/ListBox&gt;
              &lt;/controls:PanoramaItem&gt;
  </code></pre>
  
  <p>The result of this:</p>
  
  <pre><code>[x]   ^
  [x]   |
  [x]   | ----&gt; this is a side scroll and the [x] are pictures
  [x]   |
  </code></pre>
  
  <p>I was trying to do it with Grid (adding more columns) and with Data Templating, but didn’t find the solution.</p>