I'm developing a ColorEditBox which provides standard colors palette in addition to the color picker (Actipro's ColorEditor). I will allow users to quickly choose one of a few standard colors and still to be able to choose any color using color picker. I'd like to display standard color name in case user chose standard color and the color code (#RRGGBB) in case of a free choice.
I derived my control from ColorEditBox and provided its Style to change ColorEditorStyle to have my customized control for choosing colors. I've overridden ConvertToString and ConvertFromString methods - however they are never called. I also tried to provide my coverter as StringValueConverter - also no method from this converter is called.
The problem is:
How can provide my own method for displaying color names in the ColorEditBox?