How can I set the default color for a user control property browsable and with ColorUI class of ColorEditor?
1/ I tried setting Default value as for native type aka
[DefaultValue(SystemColors.WindowText)]
However this need a constant.
2/ I set a default value in the user control constructor.
This is used by the Designer but it still appears in bold, so can't see it's still default.
What is the trick?
BTW, same for Font properties etc...
You can create a child class of ApplicationSettingsBase, on the snippet below a sample for a color, you can add a property for fonts,etc:
To use it:
Further info (including design time binding) here