Get ready for beta!

Halo Wars 2 Blitz: Game modes, beginner's tips, and more

One Windows

Microsoft is building a new Windows 10 Shell for PC, Mobile and Xbox

On the Inside

Everything you need to know about the Xbox Insider Program

Beautiful compromises

Surface Studio review: you'll want one, even if you don't need one

3-in-1

Is this the Surface Phone? Microsoft awarded patents for foldable devices

Windows Central Offers

MCSE Certification bundle is just $39

Even more improvements

All the changes found in Windows 10 build 15007!

Games as a Service

What does the cancellation of Scalebound mean for future Xbox exclusives?

Windows Central Offers

Save $90 on these FRESHeBUDS Pro Magnetic Bluetooth Earbuds

Returning for 2017

We're back with an new episode of #AskDanWindows

Lifetime Subscription

VPNSecure is currently 91% off

Our favorite things

The Best of CES 2017 Awards

Infinity Edge in your hand

The XPS 13 2-in-1 is the Dell convertible we've always wanted

Project Valerie

Razer just made a laptop with three — THREE! — 17-inch 4K displays. 😱

Great design from Palo Alto

HP's CES 2017 releases are truly gorgeous PCs

Intel and Google's big day

CES 2017 Day Two: New laptops, new phones, and old ideas made new

Take five is better than ever

The updated Lenovo ThinkPad X1 packs Kaby Lake chips and zero bloatware

Everything we know about the next Xbox: Project Scorpio

UWPowered

'Game Mode' for Windows 10 will power Xbox One and Scorpio games too

Buyer's guide

Best accessories for Microsoft Surface Book

< >
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
       #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
    #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
    #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
       #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