- 02-19-2013, 08:08 AM #2
You need to set the SupportedOrientations property on each page that you want to enable rotation on to PortraitOrLandscape.
- 02-19-2013, 06:26 PM #3
Just below that is where you place your content.
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.
Windows Phone Central Moderator "Fortune cookie said: 'Outlook not so good'. I said: 'Sure, but Microsoft ships it anyway'." - Apparently you can have an iPhone transplant...
02-20-2013, 05:43 AM #4
- 3 Posts
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
- By Ritesh Singh1 in forum Windows Phone 8Replies: 1Last Post: 02-19-2013, 06:11 AM
- By Behrooz Zirak in forum Nokia Lumia 920Replies: 1Last Post: 02-03-2013, 10:58 AM
- By Chris Parsons in forum Nokia Lumia 920Replies: 16Last Post: 12-01-2012, 09:47 AM
- By WPUserInTX in forum HTC TITANReplies: 3Last Post: 11-26-2011, 09:11 PM
- By RockPaperBFG in forum Windows Phone 7Replies: 3Last Post: 08-15-2011, 04:34 PM