Using the Windows Phone 7 Accent Color

by Bobby Cannon July 10, 2010 10:58 AM

Windows Phone 7 support themes that allow you to configure the color background of Dark (black) or Light (white) and a Accent color. Currently the phone will only support four colors of Orange, Blue, Red, and Green. The user will be able to select their favorite color of the four and the phone will change the mood of the phone. Below is an example of an application before and after implementing the feature.

To set the color of a TextBlock is very easy. Here is the code.

TextBlockListTitle.Foreground = new SolidColorBrush((Color) Resources["PhoneAccentColor"]);

Adding this feature to your application in specific areas will make your application feel more integrated with the Windows Phone 7 environment. The user experience goes up and the user will enjoy your application more therefore making both the user and you happy. Some may look at this at say this is just silly but user experience is very important and you should always be interesting in every little details of your application.

Tags: ,

Programming

Comments

Add comment




biuquote
  • Comment
  • Preview
Loading



Month List