RadButton and ControlInnerBorder_Normal

3 posts, 0 answers
  1. Brian
    Brian avatar
    58 posts
    Member since:
    Jul 2011

    Posted 13 Oct 2011 Link to this post

    I am trying to make new style for RadButton that matches how we are styling our SL4 Buttons.  I am seeing a light-colored inner border on the button that I suspect may be using ControlInnerBorder_Normal (see attached image).  I do not see a brush with that name or any reference to that name in the XAML that is generated when I copy the style from RadButton in Blend.  How do I edit the ControlInnerBorder_Normal brush?
  2. Brian
    Brian avatar
    58 posts
    Member since:
    Jul 2011

    Posted 13 Oct 2011 Link to this post

    I found the answer.  I needed to copy the style of the button chrome, as described here: http://www.telerik.com/help/silverlight/radbuttons-styles-and-templates-styling-buttonchrome.html

    The document on styling the RadButton doesn't mention that many of the brushes it lists are actually in the ButtonChrome (at least in version 2011.1.0419).
  3. DevCraft banner
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 18 Oct 2011 Link to this post

    Hello Brian,

    I am glad that you found a solution to your issue. However, I wanted to let you know that we recently changed the ControlTemplates of our RadButtons and removed the ButtonChrome element so please keep in mind that in case you upgrade to a latest version of our control.

    We updated our online documentation accordingly and you can find more information on how to style the RadButton controls there. We also left the ButtonChrome styling article for backwards compatibility so you can have a look at it as well.

    Greetings,
    Tina Stancheva
    the Telerik team

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

Back to Top