title: Listbox with multiple columns wpf
body: <p>I want to show multiple columns in the list box. I have referred the following link <a href="https://stackoverflow.com/questions/908089/using-wrappanel-and-scrollviewer-to-give-a-multi-column-listbox-in-wpf">Using WrapPanel and ScrollViewer to give a multi-column Listbox in WPF</a>.</p>
  
  <p>Problem:</p>
  
  <p>I want to scroll the content using repeat button. How to control the listbox scrollbar using button.</p>
  
  <p>Code:</p>
  
  <pre><code>  &lt;ListBox Name="lbTrack" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemsSource="{Binding}"&gt;
                          &lt;ListBox.ItemTemplate&gt;
                              &lt;DataTemplate&gt;
                                  &lt;StackPanel&gt;
                                      &lt;TextBlock FontSize="14" Margin="10" Text="{Binding TrackName}" /&gt;                                    &lt;/StackPanel&gt;
                              &lt;/DataTemplate&gt;
                          &lt;/ListBox.ItemTemplate&gt;
                          &lt;ListBox.ItemsPanel&gt;
                          &lt;ItemsPanelTemplate&gt;
                              &lt;WrapPanel IsItemsHost="True" Orientation="Vertical"&gt;&lt;/WrapPanel&gt;
                          &lt;/ItemsPanelTemplate&gt;
                          &lt;/ListBox.ItemsPanel&gt;
                      &lt;/ListBox&gt;
  </code></pre>