The DataSource property on a CheckedListBox is hidden from Intellisense. Why? You can use the binding properties to make it work, but I’m worried that it’s hidden for a reason and that I shouldn’t be databinding on a CheckedListBox for some important reason that I’m not aware of.
Is databinding on a CheckedListBox ok??
The
CheckedListBoxis intended to be used with itsAddandAddRangemethods:While data binding to the
CheckedListBoxmay work you ought to avoid creating dependencies on anything but the public interface of a type. I would recommend that you use the proper methods as this will make you code less brittle in the event that Microsoft changes the implementation ofCheckedListBox.