Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Buttons > How do I Style a Radio/Toggle button foregrounds?

Not answered How do I Style a Radio/Toggle button foregrounds?

Feed from this thread
  • b avatar

    Posted on Nov 1, 2011 (permalink)

    Hi,

    I'm trying to style some RadRadioButton and RadToggleButton buttons.  I need them to:
    • have transparent backgrounds in all states
    • gray text (foreground) when normal/unchecked
    • green text (foreground) when checked/mouse over

    The version of the Telerik Silverlight libraries we're using uses ButtonChrome, which I think is deprecated (according to http://www.telerik.com/help/silverlight/radbuttons-styles-and-templates-styling-buttonchrome.html) but since we are near the end of our development process I don't think we can change to newer versions of the library.
    I'm using Expression Blend 4 and managed to get the backgrounds to be transparent (by styling the ButtonChrome).  However, I've been unable to figure out how to get the text color to change.

    I'd greatly appreciate any help in getting the foregrounds for these controls to change.

    Thanks!
    Billy

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Nov 4, 2011 (permalink)

    Hi B,

    I prepared a sample project where I edited the default style/ControlTemplate of the RadRadioButton and the RadToggleButton. Please have a look at the solution and let me know if this is the custom style I created fits your needs.

    Kind regards,
    Tina Stancheva
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Buttons > How do I Style a Radio/Toggle button foregrounds?