8,756
社区成员




<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<ListBox Margin="0,0,0,0" Name="listBox1" Height="151.5" VerticalAlignment="Top" ScrollViewer.CanContentScroll="False"
HorizontalAlignment="Left" Width="219">
<ListBoxItem Height="38.337">listitem 1</ListBoxItem>
<ListBoxItem Height="38.337">listitem 2</ListBoxItem>
<ListBoxItem Height="38.337">listitem 3</ListBoxItem>
<ListBoxItem Height="38.337">listitem 4</ListBoxItem>
<ListBoxItem Height="38.337">listitem 5</ListBoxItem>
<ListBoxItem Height="38.337">listitem 6</ListBoxItem>
<ListBoxItem Height="38.337">listitem 7</ListBoxItem>
<ListBoxItem Height="38.337">listitem 8</ListBoxItem>
</ListBox>
</Grid>
</Window>
哪怕是这段最简单的代码,用触摸在listbox往下滑动的时候,到最后一条时..就会把整个窗口拉动一点点,用来提示已经到了最后一条了..但是我个人觉得不需要这个功能,怎么去除啊...