.NET中的已选中列表框 [英] checked list box in .net
本文介绍了.NET中的已选中列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的选中列表框中有6个项目.现在我要设置第三个项目是不可见的.怎么样最后,它在列表框中不可见,但项目在列表框集合中存在.在这里,我想要除Enable= false
属性之外的其他任何属性?
in my checked list box having 6 items. now i want set 3rd item is invisible. how it is? finally it is invisible in list box but item is present in listbox collection. here i want except Enable= false
property, any other property is there?
推荐答案
尝试以下链接:
http://www.jigar.net/howdoi/viewhtmlcontent91.aspx [ ASP.NET C#禁用/启用ListItems [
Try the following links:
http://www.jigar.net/howdoi/viewhtmlcontent91.aspx[^]
ASP.NET C# Disable/Enable ListItems[^]
一种方法是您连接ItemCheck [
One way could be that you wire ItemCheck[^] event and inside that event you prevent selecting the desired item.
这篇关于.NET中的已选中列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文