Change Telerik Windows 8 Theme for RadButton Style in Silverlight
In this article we will see how to change the default RadButton theme from Telerik in Silverlight. In this example we would modify the Windows 8 theme for the RadButton control.
Before and After
Here’s how before and after view of the RadButton would look like in Telerik’s Windows 8 theme.
Things you need
Before you start doing it, here are the things you need to have.
- Telerik Silverlight Theme Source
- Microsoft Expression Blend + Sketchflow Preview for Visual Studio 2012 (Optional if you are good in XAML)
Make sure you are choosing the Windows 8 theme.
The RadButton style for Telerik Windows 8 theme is located in “Telerik.Windows.Controls.xaml”
Search for “RadButtonStyle” in the xaml which should be of type “telerik:RadButton” and you would be navigated to the style location.
Modifying the Style
To modify the original style to the target style, the Background, Foreground, and the Rounded Corner should be affected. Here is the XAML of the modified RadButton style.
Hope this article helps. See you soon with other controls.