使用CheckedListBox绑定到数据源 [英] Binding to a data source with CheckedListBox
本文介绍了使用CheckedListBox绑定到数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以澄清是否可以将数据源绑定到CheckedListBox,因为它被Intellisense隐藏而不显示在属性网格上。
我有显示一些值。为了做到这一点,我想为CheckedListBox分配一个ValueMember,所以当检查特定项目时它只显示该值。
可以这样做?
Can someone please clarify whether or not it's okay to bind a datasource to a CheckedListBox since it's hidden by Intellisense and not displayed on the property grid.
I have to display some values. In order to do that,I'd like to assign a ValueMember for the CheckedListBox so when checked on a specific item it displays only that value.
Can this be done?
推荐答案
嘿那里,
看看:
在CheckedListBox控件中消失支票的解决方法 [ ^ ]
http://www.howtosolutions.net/2012/05/winform-checkedlistbox-control-missing-datasource-property/#.UlOdOBCqYQ8 [ ^ ]
希望它有所帮助。
Azee ......
Hey there,
Take a look:
Workaround for disappearing checks in the CheckedListBox control[^]
http://www.howtosolutions.net/2012/05/winform-checkedlistbox-control-missing-datasource-property/#.UlOdOBCqYQ8[^]
Hope it helps.
Azee...
这篇关于使用CheckedListBox绑定到数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文