Hi,
I have a combobox which is manually filled with items. These items are read from a query and in a foreach I add the rows, as items, to the combobox. I needed the foreach because I needed to do some more handling etc.
In the combobox are the items shown and I can use the checkbox to select multiple items. But how can I determine which items are checked? Is it possible to itterate troug the items list to see which items are checked? The item itself, the object, doesn't have a IsChecked property or something.
It would be very nice if the combobox would have a combobox.selecteditems collection, this collection should contain all the selected items. This would be very helpfull.
I have a combobox which is manually filled with items. These items are read from a query and in a foreach I add the rows, as items, to the combobox. I needed the foreach because I needed to do some more handling etc.
In the combobox are the items shown and I can use the checkbox to select multiple items. But how can I determine which items are checked? Is it possible to itterate troug the items list to see which items are checked? The item itself, the object, doesn't have a IsChecked property or something.
It would be very nice if the combobox would have a combobox.selecteditems collection, this collection should contain all the selected items. This would be very helpfull.