Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个显示已拍摄照片的 WP/相机应用程序。有没有办法以某种方式知道您当前如何握住相机,以便图像预览将图片显示为纵向或横向?
阅读如何处理 WP7 中的方向变化
只需将以下代码替换或添加到 PhoneApplicationFrame .....
SupportedOrientations=”PortraitOrLandscape”
在PhoneApplicationFrame你有方向属性
PhoneApplicationFrame