我有一个水平的列表视图,可以向右滚动,如下所示:
问题是,在使用触摸时,默认情况下无法通过滑动来滚动ListView,它似乎只是抓取ListView项并将其向水平方向拉动一点点。我能够让它滚动的唯一方法是单击每个ListViewItem之间的5-10像素,这非常糟糕。
是否有设置可以修改此行为?
我的Xaml基本上是这样的:
我需要问Jerry吗?
是否有设置可以修改此行为?
我的Xaml基本上是这样的:
<ListView
x:Name="listView" Grid.Column="1" IsItemClickEnabled="True"
ItemsSource="{Binding Assignments}" SelectionMode="None" ItemClick="OnItemClick">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListView.ItemsPanel>
<ListView.ItemTemplate>
<DataTemplate>
<!--cool template to make UI in screenshot-->
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
我需要问Jerry吗?