This is a migrated thread and some comments may be shown as answers.

Possible to specify custom palette using xaml?

1 Answer 32 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Spurk
Top achievements
Rank 1
Spurk asked on 07 Dec 2012, 07:56 PM
According to the documentation, I can specify a collection to provide my own palette of colours for the colorpicker.  Can I do that using xaml?  And if so, how?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 10 Dec 2012, 09:01 AM
Hi Sheldon,

 Once you succeed defining a generic List<Color> in XAML, you will be able to pass it to the MainPaletteItemsSource, HeaderPaletteItemsSource, StandartPaletteItemsSource properties.
However, this seems to be a hacky work according to some forums.
Do you really need to define generic collections in XAML ?

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ColorPicker
Asked by
Spurk
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or