Inside a WinForms project, I derived a class from TypeConverter
in order to provide a custom type editor for an item in the property grid.
Unfortunately, my override of GetStandardValuesExclusive
never got called, while other overrides got called correctly.
The solution was to not derive my own class from TypeConverter
but instead from the StringConverter
class.
After this change, my override of GetStandardValuesExclusive
was called correctly.