Windows Phone ListBox 水平滚动

<ListBox x:Name="imageListBox" ScrollViewer.HorizontalScrollBarVisibility="Visible">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"></StackPanel>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>

<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
<ListBoxItem Width="110">abc</ListBoxItem>
</ListBox>

引自这个地方http://www.cnblogs.com/sun-god/archive/2012/02/09/2344571.html

你可能感兴趣的:(windows phone)