Windows Phone 7 Theme-Resources Cheat-Sheet

WINDOWS PHONE 7 THEME-RESOURCES CHEAT-SHEET

Instead of using hardcoded values for your font sizes, margins, and so on in your Windows Phone application, there are a lot of predefined resources already available you can just use.

Not only makes it your developer / designer life easier but it guarantees a consistent layout through all WP7-Apps, as long as you follow the others principle of the Metro design-language.

Of course you could lookup all those available resource-keys in the msdn. But after creating a few apps I was tired of opening my browser and calling my bookmark to the specific page. There are quite a few of the so called “cheat sheets” available for developing / designing applications for Windows Phone 7, but nothing yet for those resources. I have an education as a “Designer of digital and print media, specializing in non-print media operations” so I typeset such a Quick Reference Sheet with Adobe InDesign CS

WP7_Theme_Resources_Quick_Reference_Sheet

Theme Resources for Windows Phone

theme_resource_article_logo

 

ThemeResources if you want to run the application on your device or emulator

Theme resources are used by adding a StaticResource instead of setting the property manually.

<TextBlock Text=”Large text” Style=”{StaticResource PhoneTextLargeStyle}” /> <TextBlock Text=”Normal text” Style=”{StaticResource PhoneTextNormalStyle}” />

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769545(v=vs.105).aspx

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769552(v=vs.105).aspx

About the Author

Hi! I'm Ahmad. I have a degree in Computer Science from Birzeit University and you might call me a bit of computer geek. I am the Founder of Greenbackend Turnkey Solutions a leading Cloud and Hosting Company in the Middle East, Also I am the Founder of Ahmad Naser Turnkey Solutions in Harvey, LA, USA. I'm comfortable with a large range of languages and techniques. After implementing enterprise applications using Salesforce and Siebel CRM for 3 years and with professional experience in building websites, cloud apps, iOS apps, Unity games, Android mobile apps and educational games for 8 years. I decided to share my technical knowledge with people all over the world to benefit from my experience and build their own careers specially because I am a real world example with over 20 successful apps on Google Play Store, Asset Store and Apple Store, So your success is mine and I want to help you reach your goals step by step exactly as I do. I'm passionate about teaching people about technologies, so from time to time I gave courses online and in learning centers and teach beginners and professionals on many technologies and development frameworks. One of my greatest goals in life is growing the next generation of software professionals and to keep teaching programming at every opportunity I get. I can't wait to help you experience the achievement and financial freedom that having a deep understanding of technology brings. So why not start learning to design & develop now by joining our epic Unity 3D professional 2d game development course? See you soon! Ahmad

>