Welcome to MSDN Blogs Sign in | Join | Help
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"/>

 

Published Tuesday, August 05, 2008 5:20 AM by CorrinaB

Comments

# Pregnant Man &raquo; Rough Skin for Silverlight Beta 2 Is Easy to Customize @ Tuesday, August 05, 2008 5:16 AM

PingBack from http://wordnew.acne-reveiw.info/?p=15984

Pregnant Man &raquo; Rough Skin for Silverlight Beta 2 Is Easy to Customize

# Silverlight Cream for August 13, 2008 -- #345 @ Wednesday, August 13, 2008 10:00 AM

Bill Reiss on Embedding fonts, .net Curry on hosting SL Content, Corrina Barber updated another SL2 skin

Community Blogs

# WPF Themes Updated (16/11/2008) @ Tuesday, November 18, 2008 3:46 AM

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

Rudi Grobler

# Version Silverlight 2 RTW (2.0.31005.0) @ Tuesday, November 18, 2008 9:03 AM

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

i cant open the project in my vs2008.

blindmeis

# re: Rough Skin for Silverlight Beta 2 Is Easy to Customize @ Tuesday, March 31, 2009 10:57 AM

Hi, at http://www.xamltemplates.net/sl you will see a live Silverlight theme for all the controls

bradutz01

Anonymous comments are disabled
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker