This project has moved. For the latest updates, please go here.

Change ColorCanvas Format

Oct 3, 2013 at 3:17 PM
Hey.
I want to change the output format of the TextBox of the ColorCanvas. How to do this?
Developer
Oct 7, 2013 at 1:00 PM
Hi,

Want kind of output format are you looking for ? Right now, there is a method called this way :
 ColorConverter.ConvertFromString( newValue );
which make sure the format is an hexadecimal format. The "newValue" is the ColorCanvas.HexadecimalString. So the Hexadecimal format is required.

You could try to modify the method ColorCanvas.SetHexadecimalTextBoxTextProperty() to modify the text displayed, but keep in mind that the "ColorConverter.ConvertFromString" method needs an hexadecimal value.