Handling screen resolution RRS feed

  • Question

  • In order to run my Metro style app correctly on all possible screen resolutions, should I programmatically adjust the controls or is there any other method by which it will be automatically handled? I have seen that when run in simulator debugger the app adjusts automatically to all screen resolutions. But when I change the screen resolution in my PC( when not run in simulator), I cannot see the controls fully and there are cut off issues. How can this be handled programatically so that all the controls and the full UI are fully visible when run on PC?
    Sunday, August 5, 2012 4:53 PM


  • The specific details will depend on the app. Some apps can use relative layout controls to stretch or contract to handle the space well. Others will need to change the layout by showing or hiding different control sets, moving controls around, etc.

    As an example, the wizard based grid apps swap their GridView for a ListView when in Snapped mode. Portrait view is also a likely candidate to require a different layout.

    See Guidelines for scaling to screens for more information.


    • Proposed as answer by Jesse Jiang Tuesday, August 7, 2012 7:28 AM
    • Marked as answer by Jesse Jiang Friday, August 10, 2012 7:17 AM
    Sunday, August 5, 2012 7:18 PM