WPF ListView的非整体滚动 [英] WPF ListView non integral scrolling
本文介绍了WPF ListView的非整体滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何关掉整体滚动在WPF的ListView?默认情况下,滚动一个ListView跳下来,所以我必须一次滚动整个项目。我想滚动半路上,季路等。
How do I turn off the integral scrolling in a WPF ListView? By default, scrolling a ListView jumps down so I must scroll a whole item at a time. I would like to scroll half way, quarter way, etc.
推荐答案
设置属性的的ListView
为False。随后的内容将滚动像素明智的。 ScrollViewer.CanContentScroll
Set the property ScrollViewer.CanContentScroll
of your ListView
to False. Then the contents will scroll pixel-wise.
这篇关于WPF ListView的非整体滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文