Hi,
ListView的默认模板本身就有ScrollViewer,不重写模板的时候可以工作不?
请确定e.OriginalSource的类型,以确定可以找到ListViewItem类型的父容器。
也许下面的文章可以对你有帮助,
https://www.cnblogs.com/jevonsflash/p/6774358.html
Best Regards,
Bob
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.