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

Change Underline Color on Icon to Selected Color

1 Answer 77 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 17 Apr 2010, 08:37 PM
Hi:

I want to use the ColorPicker to select a font color and have that font color reflected on an icon such as the one that is attached.   It is an icon out of one of your office-like example with a red bar under the letter A.  In Office applications, the underline portion's color changes to reflect the selected color.  Can you provide an example of how to do that?

Thanks,

Terry

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 22 Apr 2010, 10:08 AM
Hello Terry,

You can take a look at the FirstLook demo of the RadColorPicker. There is an example that might help you implement your scenario.

I also prepared an example where a RadColorPaletteViewItem is used to display the selected color from the RadColorSelector and in the SelectedColorChanged event handler the color of the RadColorPaletteViewItem is set.

Take a look at it and let me know if it works for you or if you need more info.

Greetings,
Tina Stancheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ColorPicker
Asked by
Terry
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or