如果我们点击额外的空白区域,则在C#WinCE"选择列表视图项目中的ListView控件中的问题将被取消选择 [英] Issue in ListView control in C# WinCE "selected list view item gets deselect if we click on extra white space "

查看:73
本文介绍了如果我们点击额外的空白区域,则在C#WinCE"选择列表视图项目中的ListView控件中的问题将被取消选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。


我在基于WinCE C#windows窗体的应用程序中添加了一个ListView控件。


它可以适应1-3列表项控件。已启用详细信息查看属性。


它有一个问题。如果我们点击列表视图中可能存在的额外空格,则取消选择当前选择的列表视图项。


任何人都可以帮助避免取消选择列表视图项,即使用户点击额外的白色区域。





谢谢,Harish

解决方案

您好,


如果您没有子项,可以尝试使用列表框。



Hi.

I added a ListView control to my WinCE C# windows form based application.

it can accomadate 1- 3 list item controls. Enabled details View property.

It has one issue. currently selected list view item gets deselect if we click on extra white space which may exist in the list view.

Ho can anybody help ho to avoid this deselection of list view item even if user clicks on extra white area.


Thanks, Harish

解决方案

Hi,

You can try with list box if you do not have sub items.


这篇关于如果我们点击额外的空白区域,则在C#WinCE"选择列表视图项目中的ListView控件中的问题将被取消选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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