Surface Pwn 5

Surface Pro 5, Project NEON details leaked on LinkedIn?

XP-YESSSSSSS

Dell's already awesome XPS 15 gets even better in 2017

Surface table meets Windows 10

Yes, we did put Windows 10 on the original Surface table ... and it rocks

Cream o' the crop

Before buying a Microsoft laptop, check out our pick for the absolute best

Simple and secure, just the way I like it

We think Windows 10 Cloud is a great idea, here's why

uber micro

Halo Wars 2 has something for everyone. Here's our full review.

Oldie but goldie

We reviewed Microsoft's decade-old Surface table

Creators Update comin' at ya

These are the coolest new features in the next big Xbox One update (video)

Buyer's guide

The Razer Blade 14 is the best laptop Razer has to offer

Windows 10 app gems

10 terrific Windows 10 apps you should be using

Tower of power

Here's what we think of Dell's XPS Tower Special Edition

Quite a deal

Grab the complete C# coding bootcamp for $41!

Your go-to laptop guide

Introducing our ultimate laptop buyer's guide

Listen here

Attn Android and iPhone users: What you need to know about Windows phone

Old is new?

The original Surface Pro still holds its own in the 2-in-1 world

Xbox Greenlight?

No, internet, Microsoft isn't opening Xbox to all UWP games

Falling in love

HP Envy 34 review: An ultrawide curved all-in-one after my heart

2015 machine in 2017?

Surface 3 still holds its own in 2017

Let Kodi cut your cord

You should be using Kodi for Windows 10

Leader of the pack

HP's Spectre x360 15 just might be the best all-around laptop

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 4 of 4
  1. Ritesh Singh1's Avatar
    Member

    Posts
    3 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
       #1  
    hi
    I have deployed a application in nokia lumia 820. but the screen rotation is not working . At the phone level the screen rotation is working but in my app it is not working ..how to resolve this problem.....?
  2. theomodsim's Avatar
    Developer

    Posts
    56 Posts
    Global Posts
    146 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #2  
    You need to set the SupportedOrientations property on each page that you want to enable rotation on to PortraitOrLandscape.
  3. Daniel Ratcliffe's Avatar
    Retired Moderator

    Posts
    3,046 Posts
    Global Posts
    4,703 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #3  
    Click image for larger version. 

Name:	Screenshot (44).png 
Views:	6 
Size:	206.0 KB 
ID:	29008

    Just below that is where you place your content.

    [TIP]Different pages have different ideal orientations. SupportedOrientations is how you do this. Here are your options
    • Portrait - Portrait locked. Good for intro pages tbh. This is where the phone is taller than wider
    • Landscape - Landscape locked. Useful for widescreen content. Phone is wider than taller.
    • PortraitOrLandscape - Allows either. Useful for pages requiring the keyboard.

    [/TIP]
  4. Ritesh Singh1's Avatar
    Member

    Posts
    3 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
       #4  
    Thanks for the reply..

    I have set the SupportedOrientations as portraitOrlandscape . Not the screen is able to rotate both in portarait and landscape as well. but when i am rotating the screen in landscape mode then the width of screen is reduced. in landscape mode the width of screen is same as the width of screen in portrait mode.........(In the main XAML page there is one browser and one vedio brush(for base camera)..i am collapsing the browser when camera feature is called and collapsing the vedio brush while opening the browser...)Can you tell me why it coming like this and how to resolve this problem

Similar Threads

  1. How to take a screenshot on Nokia Lumia 920
    By Chris Parsons in forum Nokia Lumia 920
    Replies: 20
    Last Post: 12-16-2014, 06:56 PM
  2. How to remove a playlist in Nokia Music?
    By Behrooz Zirak in forum Nokia Lumia 920
    Replies: 4
    Last Post: 05-13-2014, 10:35 AM
  3. Replies: 1
    Last Post: 02-19-2013, 07:11 AM
  4. How to enable app search boxes in Titan?
    By WPUserInTX in forum HTC TITAN
    Replies: 3
    Last Post: 11-26-2011, 10:11 PM
  5. How to keep screen on when plugged in?
    By RockPaperBFG in forum Windows Phone 7
    Replies: 3
    Last Post: 08-15-2011, 05:34 PM

Posting Permissions