I\'m trying to make a listview where each item is an image. I want the listview to display the items horizontally. If the view box items won\'t fit horizontally in the window I
Disable the vertical ScrollBar to make the ListView scale its items vertically:
<ListView ItemsSource="{Binding Items}"
ItemTemplate="{StaticResource ItemTemplate}"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
This works as well with the more light-weight ListBox
.