This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hey hey, quick suggestion: I see that BuiltInEditor uses TypeConverter.GetStandardValuesSupported if the property has a TypeConverter on it to choose the PropertyGrid.ListSelectNoTextEntryEditorKey editor key. It would be nice if it also used TypeConverter.GetStandardValuesExclusive to select between the PropertyGrid.ListSelectNoTextEntryEditorKey and PropertyGrid.ListSelectEditorKey. Just sayin'.
|
|
|
Actually, what we originally planned to do was use ListSelect everywhere, even for exclusive values, because that allows users to type in the beginning of an item without needing to drop down the combo box at all. But when we implemented it we found some issues with the interaction between the edit area and the selection drop-down in generalised standard-value scenarios. (Can't remember the details -- this was a while back!) It worked okay with enums and bools, but we had problems with our test cases that used custom type converters, and at the time we didn't have time to track these down. I will try to pick this up again -- thanks for reminding me!
|
|