RadcolorPicker

4 posts, 0 answers
  1. Thiru
    Thiru avatar
    5 posts
    Member since:
    Sep 2012

    Posted 20 Feb 2013 Link to this post

    Hi Expertise,

    I am using the RadcolorPicker in my project. when i click the color picker, i can able to see the color palatte. Totally 25 colors only available in this control... Can i have more color to access in this control? it means, Is there any options for "More color" in this pallette.?

    Thanks in advance.

    Regards,
    Thiruppathi V
  2. Krzysztof
    Krzysztof avatar
    14 posts
    Member since:
    Oct 2007

    Posted 21 Feb 2013 Link to this post

    Dear Thiru,

    If that helps you, this is how I define my own colors:

    <telerik:RadColorPicker MainPaletteItemsSource="{Binding Colors}"></telerik:RadColorPicker>

    And that's my colors collection definied in viewmodel

    public List<Color> Colors { get; set; }
     
    Colors = new List<Color>();
    Colors.Add(System.Windows.Media.Colors.White);
    Colors.Add(System.Windows.Media.Colors.Red);
    Colors.Add(System.Windows.Media.Colors.Green);
    Colors.Add(System.Windows.Media.Colors.Red);
    Colors.Add(System.Windows.Media.Colors.Blue);
    Colors.Add(System.Windows.Media.Colors.Yellow);
    Colors.Add(System.Windows.Media.Colors.Purple);

    Hope that helps!
    Best regards
    Krzysztof

  3. UI for WPF is Visual Studio 2017 Ready
  4. Thiru
    Thiru avatar
    5 posts
    Member since:
    Sep 2012

    Posted 21 Feb 2013 Link to this post

    Thanks for your reply.
    Actually, what i want is, I have to add More color button in RadColorPicker control itself. I gone through the Telerik Demo Site.. i have seen sample demo what i want but the thing is, i do not have Q3 2012 Version Dll.. If we have this dll, we can show color editor when we click the more color button in RadColorPicker control. Please Check this URL

    http://demos.telerik.com/silverlight/#ColorPicker/FirstLook

    Thanks
    Thiruppathi V
  5. Krzysztof
    Krzysztof avatar
    14 posts
    Member since:
    Oct 2007

    Posted 21 Feb 2013 Link to this post

    Hi again!

    The "More colors..." button it's not a part of RadColorPicker control itself. In the example you mentioned above there is RadToolBar control which consist of few of RadColorPicker controls and this button, which opens EditColorsWindow window which again consist of RadColorEditor control. The color you pick from this window is added to RadColorPicker control. Does it make more sense now?

    Best regards
    Krzysztof
Back to Top