Possible to specify custom palette using xaml?

2 posts, 0 answers
  1. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 07 Dec 2012 Link to this post

    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,
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 10 Dec 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top