Telerik blogs
You might have marveled about the adoption of Telerik® themes to non-Telerik components. Many clients asked, "How do we style native MS controls using Telerik themes?" Some of them wanted to keep the UI of the application clean and consistent, while using both Telerik controls and native Microsoft controls. Others were looking for a style as replacement of the default one for a specific control.   

Is it Possible?

It most certainly is.  Telerik UI for WPF and Silverlight comes with a beautiful theme set of 15+ professionally designed, eye-catching themes for all Telerik components and some native Microsoft controls. Those components are used extensively throughout Telerik UI for WPF and Silverlight. In fact, we are talking about basic controls used as "helpers" in most components.   

Which controls can I style using Telerik themes?

 
MS controls supported by our themes include:
  • System.Windows.Button
  • System.Windows.ScrollViewer
  • System.Windows.CheckBox
  • System.Windows.TextBox
  • System.Windows.RadioButton
  • System.Windows.ListBox
  • System.Windows.PasswordBox
  • System.Windows.RepeatButton
  • System.Windows.Tooltip
  • System.Windows.Controls.Primitives.StatusBar*
  • System.Windows.Controls.Separator*
    *(WPF only)

 

Let’s Try It Out

We implemented a brand-new SDK example, which demonstrates the whole look and feel of these components in all built-in Telerik themes using implicit styles. Once you run the application, you will see the following layout:

SDK Example: MS Controls - Windows8 theme

 

 

With the ConfigurationPanel to the left, you may easily change the themes at runtime and the result will be similar to the following:
SDK: Theming of MS Controls
The source of this demo can be downloaded from our GitHub repository here. Try it out, and let us know if you have any feedback.

About the Author

Vanya Pavlova

Senior Front End Developer
Telerik XAML Team

Related Posts

Comments

Comments are disabled in preview mode.