Change Underline Color on Icon to Selected Color

2 posts, 0 answers
  1. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 17 Apr 2010 Link to this post

    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
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 22 Apr 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top