Rough Skin for Silverlight Beta 2 Is Easy to Customize

Rough Skin for Silverlight Beta 2 Is Easy to Customize

  • Comments 5

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"/>

 

Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post
Page 1 of 1 (5 items)