I have a System.Windows.Forms.PropertyGrid
with different types of values. For a specific item, I want to show a list of useful values to choose from. The user may also type a new value. Something similar to a traditional dropdown combobox:
So far, I have my own System.ComponentModel.TypeConverter
, but I can't figure out how to get both the dropdown with suggested values and the possibility to edit the value directly. Please help!
System.ComponentModel.StringConverter
solved the problem. Obviously, text editing cannot be done with other types than strings. Thanks for the links though! – Antrorse