windows phone 8.1 - Where has support for orientation gone in Universal Apps? -
i'm working on universal app, , need 1 page within app utilize landscape orientation (for taking photo), whilst bulk of app portrait orientation.
how tell os , designer this, supportedorientation , orientation properties phoneapplicationpage silverlight toolkit, don't appear exist on page
if want create different orientation on page, i've been able create - setting page's orientation in constructor:
public mainpage() { this.initializecomponent(); displayinformation.autorotationpreferences = displayorientations.portrait; } public page1() { this.initializecomponent(); displayinformation.autorotationpreferences = displayorientations.landscape; } here simple example 3 pages - each different orientation.
windows-phone-8.1 win-universal-app
No comments:
Post a Comment