Friday, 19 February 2010

Windows Phone 7 Series Countdown to Mix 10


mixcountdownWith the launch of Windows Phone 7 Series this week I’ve created a simple Silverlight project to simulate the phones clock screen and added a countdown timer for Mix 10.

The key items in the project were:

1. Assume WVGA model ( 480 x 800 pixels)

2. Add a view box to enable scaling of the window

3. Add a KerningTextBlock control to get text closer to Windows phone, thanks to Danteq for this code, by enabling a text kerning in Silverlight 3, though I had to change  from Padding to Margin to support negative trackingproperty.

4. Use of the windows font Segoe UI 

To see demo click here

The code can be downloaded at: