Using multiple RadButton styles in single Telerik Windows 8 Theme in Silverlight
In previous article, we had seen how to change RadButton style in Windows 8 Theme in Silverlight. There might be requirements where you need to have multi-color buttons. In this article we would see how to use them in a single Telerik Windows 8 Theme.
How it would look like?
Here is how it would look like, if we have three RadButton styles in a single UI.
Modifying the Style
In the previous post we know the location of the RadButton style. We need to keep two more RadButton styles with different names. Let’s say “RadButtonStyleGray” and “RadButtonStyleGreen“. The following XAML are for the respective styles.
Add Theme File to Project
You need to add the modified Telerik theme file to the project. Refer the modified file in App.xaml Resource Dictionaries.
Adding Style to RadButtons
While adding style to RadButtons, you need to specify the style as required.
Hope this article helps. See you soon with other controls.