If the property type is an enumeration, it should work out of the box.
If it is something more sophisticated, you will have to create a custom
TypeConverter[
^] and override its
GetStandardValuesSupported()
,
GetStandardValuesExclusive()
and
GetStandardValues()
methods.
To make the displayed values usable, you will have to add overrides for
CanConvertTo()
,
ConvertTo()
,
CanConvertFrom()
and
ConvertFrom()
. They are used to convert your settings to/from the string that is displayed in the dropdown.