# GetStandardValuesExclusive never gets called

**URL:** <https://entwicklergate.de/t/getstandardvaluesexclusive-never-gets-called/508>\
**Category:** Windows Forms\
**Tags:** windows, net, csharp, winforms\
**Created:** [11. März 2022 um 16:24 UTC](https://entwicklergate.de/t/getstandardvaluesexclusive-never-gets-called/508 "2022-03-11T16:24:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![UweKeim](https://entwicklergate.de/user_avatar/entwicklergate.de/uwekeim/32/432_2.png) [@UweKeim](https://entwicklergate.de/u/UweKeim)\
**Post date:** [11. März 2022 um 16:24 UTC](https://entwicklergate.de/t/getstandardvaluesexclusive-never-gets-called/508/1 "2022-03-11T16:24:58Z")

</div>

Inside a WinForms project, I derived a class from [`TypeConverter`](http://msdn.microsoft.com/en-us/library/system.componentmodel.typeconverter) in order to provide a custom type editor for an item in the property grid.

Unfortunately, my override of [`GetStandardValuesExclusive`](http://msdn.microsoft.com/en-us/library/b825831z(v=vs.110).aspx) never got called, while other overrides got called correctly.

[The solution](https://social.msdn.microsoft.com/Forums/en-US/ed391fd5-5b4f-47d6-ba8a-b25df719b1b0/getstandardvaluesexclusive-doesnt-seem-to-work) was to not derive my own class from `TypeConverter` but instead from the [`StringConverter`](http://msdn.microsoft.com/en-us/library/system.componentmodel.stringconverter) class.

After this change, my override of `GetStandardValuesExclusive` was called correctly.

[See also](http://stackoverflow.com/a/12379867/107625)
