The problem

I thought it would be usefull if there was a “Selection Changing” event on a ComboBox.

For Example: I have a ComboBox filled with Customers. Linked with the ComboBox is a UserControl which contains detailed information for the selected customer. On the UserControl I have validation methods. I wish that they are executed when the user wants to change the selected customer.

With a “Selection changing” event, I would still be able to cancel the new selection and still have access to the current SelectedItem.

continue reading…