Rough Skin for Silverlight Beta 2 Is Easy to Customize

One thing that I forgot to mention about the Silverlight beta 2 rough skin is that it is very easy to customize now. At the top of the Page.xaml file in my sample project are several resources that can be used to quickly change the colors for all controls. In the example below I have changed the BaseColroBrush and HyperlinkBrush to Tomato and I've changed the HoverBrush to WhiteSmoke, and the controls all update nicely to reflect the new color theme...

<!-- Resources -->

<SolidColorBrush x:Key="BaseColorBrush" Color="Tomato"/>

<SolidColorBrush x:Key="BorderBrush" Color="#FF333333"/>

<SolidColorBrush x:Key="ForegroundBrush" Color="#FF333333"/>

<SolidColorBrush x:Key="HoverBrush" Color="WhiteSmoke"/>

<SolidColorBrush x:Key="HyperlinkBrush" Color="Tomato"/>


Comments (5)
  1. Bill Reiss on Embedding fonts, .net Curry on hosting SL Content, Corrina Barber updated another SL2 skin

  2. Rudi Grobler says:

    The WPF Themes CodePlex project has been updated, 4 Themes and 2 new controls were added!!! Controls

  3. blindmeis says:

    hi, your sample project did not run under Version Silverlight 2 RTW (2.0.31005.0)?

    i cant open the project in my vs2008.

  4. bradutz01 says:

    Hi, at you will see a live Silverlight theme for all the controls

Comments are closed.

Skip to main content