How to reference dynamically created checkedlistbox items in C#
Posted
by Darwin Esq.
on Stack Overflow
See other posts from Stack Overflow
or by Darwin Esq.
Published on 2010-06-10T10:33:28Z
Indexed on
2010/06/10
10:42 UTC
Read the original article
Hit count: 175
I'm trying to see if a particular item in a checkedlistbox is checked or not. I assumed referencing the item would be:
var checkBox = CheckBoxCheckedListBox1.Items[0];
But that returns an object. Casting to a CheckBox throws an exeption.
Thanks!
© Stack Overflow or respective owner