Windows Phone Development Guru - Retrieving the Screen Resolution for Windows Phone 8 Emulator

Congratulations to Isenthil, our Windows Phone Development Guru winner for May 2013! To find all the competitors for May (and more information about this monthly contest), see the Wiki article: TechNet Guru Awards, May 2013 .

isenthil's avatar

 

Isenthil ran the table for the Windows Phone category in May. Here was his winning contribution:

Retrieving the Screen Resolution for Windows Phone 8 Emulator

 

Here are our Windows Phone winners for May:

 Windows Phone Technical Guru - May 2013 
Gold Award Winner  isenthil Retrieving the Screen Resolution for Windows Phone 8 Emulator
  • "Excellent tip. Just what we want on the wiki."
  • "Nice fact article, useful snippet!"
Silver Award Winner  isenthil Windows Phone 8 SDK and Windows 7
  • "Simple but useful fact"
  • "He learned something; he passed it on. That's the point"
Bronze Award Winner  isenthil Oxygene and Windows Phone 8 - Introduction
  • "Interesting article."

 

"isenthil" was our only entrant for the Win Phone category and is walking away with a box of medals! :D

 

 

Here is an excerpt from the article:

 

The Windows Phone 8 supports 3 different screen resolutions like WVGA,WXGA,720P.

If you are a developer and wants to retrieve the screen resolution dynamically , you can use the ScaleFactor property defined in App.Current.Host.Content.ScaleFactor.

 

---------------------------------

 

Read the entire article here (including the code snippet):

Retrieving the Screen Resolution for Windows Phone 8 Emulator

 

Thanks again to Isenthil for a great contribution! You can read about all the May winners here: TechNet Guru Awards - May 2013

See the June contributions here: TechNet Guru Contributions - June 2013

 

Enjoy!!

- User Ed