I need to use a color picker in WPF and thought I would give the color picker in this toolkit in a try. I have to be able to display a custom list of colors because they relate to colors in another application. The colors correspond to indexes in a custom pallet so I need to display these indexes as the color names in the picker.
As a quick test I added the following in the initialization of my form
```
myColorPicker.DisplayColorAndName = true;
myColorPicker.AvailableColors.Clear();
myColorPicker.AvailableColors.Add(new Xceed.Wpf.Toolkit.ColorItem(System.Windows.Media.Color.FromRgb(110, 110, 110), "Color 12"));
```
When the form is loaded I can confirm the color picker only has my one color. If I hover over the color swatch the tooltip shows "Color 12" but when I pick the color it shows the hex color value of "#FF6E6E6E" in the picker control. This was a bit disappointing.
Is this expected when using custom colors?
When using the default colors it seems to show the name in the control after the color is picked. Although picking Cyan, which has a tooltip of Cyan, displays Aqua in the control after it's picked. The same happens when you pick Magenta which ends up showing Fuchsia in the control.
As a quick test I added the following in the initialization of my form
```
myColorPicker.DisplayColorAndName = true;
myColorPicker.AvailableColors.Clear();
myColorPicker.AvailableColors.Add(new Xceed.Wpf.Toolkit.ColorItem(System.Windows.Media.Color.FromRgb(110, 110, 110), "Color 12"));
```
When the form is loaded I can confirm the color picker only has my one color. If I hover over the color swatch the tooltip shows "Color 12" but when I pick the color it shows the hex color value of "#FF6E6E6E" in the picker control. This was a bit disappointing.
Is this expected when using custom colors?
When using the default colors it seems to show the name in the control after the color is picked. Although picking Cyan, which has a tooltip of Cyan, displays Aqua in the control after it's picked. The same happens when you pick Magenta which ends up showing Fuchsia in the control.