Windows phone 8 如何将页面方向更改为横向
我正在开发windows phone应用程序。我为弹出窗口创建了一个用户控制页面Windows phone 8 如何将页面方向更改为横向,windows-phone-8,Windows Phone 8,我正在开发windows phone应用程序。我为弹出窗口创建了一个用户控制页面 但是我的应用程序处于横向模式,那么如何将用户控件页面方向更改为横向模式?您应该将所有页面的SupportedOrientations属性设置为横向: <UserControl x:Class="MyWindowsPhone.Page" ... other attributes omitted SupportedOrientations="Landscape"> <!-- control
但是我的应用程序处于横向模式,那么如何将用户控件页面方向更改为横向模式?您应该将所有页面的SupportedOrientations属性设置为横向:
<UserControl x:Class="MyWindowsPhone.Page"
... other attributes omitted
SupportedOrientations="Landscape">
<!-- controls go here -->
</UserControl>