WPF ListView non integral scrolling

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-03 10:41:53

问题


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.


回答1:


Set the property ScrollViewer.CanContentScroll of your ListView to False. Then the contents will scroll pixel-wise.



来源:https://stackoverflow.com/questions/3840959/wpf-listview-non-integral-scrolling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!