滚动WPF ListView控件时如何避免显示部分listviewitem? [英] how to avoid to show partial listviewitem when scroll the WPF ListView Control?

查看:150
本文介绍了滚动WPF ListView控件时如何避免显示部分listviewitem?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

滚动列表视图控件时,我需要完全显示列表视图项.我已经尝试过使用ScrollViewer的ScrollIntoView属性.但这不起作用.

I need to show listview items fully when scroll listview control. I already tried by means ScrollIntoView property of ScrollViewer. But it doesn't work.

我是否需要使用任何IScrollInfo.有人可以帮助我解决这个问题吗?.

Whether i need to go with any IScrollInfo. Can any one help me to solve this problem?.

先谢谢了

感谢&问候

Reegan Lourduraj.

Reegan Lourduraj.

推荐答案

尝试

< ListView ScrollViewer.CanContentScroll =" False" >
           
 </ListView>

<ListView ScrollViewer.CanContentScroll="False" >
            
 </ListView>


这篇关于滚动WPF ListView控件时如何避免显示部分listviewitem?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆