リスト ボックスに複数の列を表示したい。次のリンクUsing WrapPanel and ScrollViewer to give a multi-column Listbox in WPF を参照しました。
問題:
リピートボタンを使用してコンテンツをスクロールしたい。ボタンを使用してリストボックスのスクロールバーを制御する方法。
コード:
  <ListBox Name="lbTrack" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemsSource="{Binding}">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock FontSize="14" Margin="10" Text="{Binding TrackName}" />                                    </StackPanel>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                        <ListBox.ItemsPanel>
                        <ItemsPanelTemplate>
                            <WrapPanel IsItemsHost="True" Orientation="Vertical"></WrapPanel>
                        </ItemsPanelTemplate>
                        </ListBox.ItemsPanel>
                    </ListBox>