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

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

6 Answers 219 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Kareema
Top achievements
Rank 2
Kareema asked on 11 Jan 2012, 09:22 AM
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.

6 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 13 Jan 2012, 04:35 PM
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 >>

0
Kareema
Top achievements
Rank 2
answered on 16 Jan 2012, 07:40 AM
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
0
Accepted
Kiril Stanoev
Telerik team
answered on 18 Jan 2012, 03:09 PM
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 >>

0
Kareema
Top achievements
Rank 2
answered on 18 Jan 2012, 03:29 PM
Thanks for clearing that up, Kiril.
I modified the style and it looks perfect.
0
Louis
Top achievements
Rank 1
answered on 17 Oct 2013, 04:42 PM
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
0
Petar Mladenov
Telerik team
answered on 22 Oct 2013, 08:06 AM
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 >>
Tags
ColorPicker
Asked by
Kareema
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
Kareema
Top achievements
Rank 2
Louis
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or