Why does my colour picker look like a FONT colour picker?

7 posts, 1 answers
  1. Kareema
    Kareema avatar
    17 posts
    Member since:
    Aug 2011

    Posted 11 Jan 2012 Link to this post

    Is there a way to style my RadColorPicker to get rid of the glyph of the little "A" in the expander? Look at the file I attached. I'm not using it to change the colour of a font. This is confusing my user. I just want a block that has the selected colour in it.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 13 Jan 2012 Link to this post

    Hi Kareema,

    Please examine the attached project and let me know if you need further assistance.

    All the best,
    Kiril Stanoev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Kareema
    Kareema avatar
    17 posts
    Member since:
    Aug 2011

    Posted 16 Jan 2012 Link to this post

    Hi Kiril,

    Thank you for your reply. You attached a Silverlight Application. Strange, seeing as how this was posted under WPF :)
    Any way, I copied your entire ColorButtonDefaultStyle style, pasted it in my own solution and referenced it as static resources for all my own instances of RadColorPicker.
    ie.
    <Controls:RadColorPicker x:Name="FocusedRowForegroundColour" 
    ColorButtonStyle="{StaticResource ColorButtonDefaultStyle}" />


    This seems to have had no effect on the picker's appearance. Something to do with the fact that it was meant for a Silverlight component as opposed to a WPF component?

    Awaiting your reply
    Thanks
  5. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 18 Jan 2012 Link to this post

    Hello Kareema,

    The style I provided you with is the default one. You need to modify that style to see  any changes. I've attached an updated WPF version of the previous project. Could you please take a look at it and let me know how it goes.

    Kind regards,
    Kiril Stanoev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Kareema
    Kareema avatar
    17 posts
    Member since:
    Aug 2011

    Posted 18 Jan 2012 Link to this post

    Thanks for clearing that up, Kiril.
    I modified the style and it looks perfect.
  7. Louis
    Louis avatar
    83 posts
    Member since:
    Aug 2013

    Posted 17 Oct 2013 Link to this post

    Now that ColorButtonStyle is marked as "Obsolete", can you show how to do this using SplitButtonStyle instead? I wasn't able to find an example of using SplitButtonStyle, and haven't been able to figure out how to get at the ButtonPart in the Grid.

    Thanks,
    Louis
  8. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Oct 2013 Link to this post

    Hi Louis,

     Please check out the Backwards Compatibility section in our documentation which describes how to upgrade your ButtonStyles and use the SplitButtonStyle.

    Regards,
    Petar Mladenov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
UI for WPF is Visual Studio 2017 Ready