ListViewItem generating “The given key was not present in the dictionary.” error
-
23-08-2019 - |
Question
How can
ItemCheckedEventArgs.Item.Selected = ItemCheckedEventArgs.Item.Checked
generate "The given key was not present in the dictionary." ??
Solution
The confusion was due to the fact that VS does not step into event handlers when you step through properties, so I wasn't seeing the error in my SelectedIndexChanged handler.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow