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

RadButton and ControlInnerBorder_Normal

2 Answers 26 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 13 Oct 2011, 05:12 PM
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 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 13 Oct 2011, 08:23 PM
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).
0
Tina Stancheva
Telerik team
answered on 18 Oct 2011, 12:19 PM
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 >>

Tags
Buttons
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or