CheckedListBox item
Posted: Wed Apr 25, 2012 4:51 pm
Hi All,
I've used a CheckedListBox control in application. I read all items in the collection through: IList<CheckBox> items = ....FindChildren<CheckBox>. But, this only works when the number of items set is not large, or more preciselym, when the scroll bar does not appear in the listbox. If you have a large number of items set in a listbox (scroll bar appears) FindChildren returns 0 items, although they exist.
Do I use a good way, or can I get help..
Thanks in advance
Srdjan
I've used a CheckedListBox control in application. I read all items in the collection through: IList<CheckBox> items = ....FindChildren<CheckBox>. But, this only works when the number of items set is not large, or more preciselym, when the scroll bar does not appear in the listbox. If you have a large number of items set in a listbox (scroll bar appears) FindChildren returns 0 items, although they exist.
Do I use a good way, or can I get help..
Thanks in advance
Srdjan