Change Telerik Windows 8 Theme for TextBox in Silverlight


In this article we will see how to change the default TextBox theme from Telerik. In this example we would modify the Windows 8 theme for the TextBox control.

Before and After

Here’s how before and after the TextBox 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.

  1. Telerik Silverlight Theme Source
  2. Microsoft Expression Blend + Sketchflow Preview for Visual Studio 2012 (Optional if you are good in XAML)

Style Location

Make sure you are choosing the Windows 8 theme.

The TextBox style for Telerik Windows 8 theme is located in “Telerik.Windows.Controls.Data.xaml”

Search for “TextBoxStyle” in the xaml and you would be navigated to the style.

Modifying the style

As per the after image, we need to set the border thickness of the following border control.

Hope this article helps. See you soon with other controls.