当前位置: 代码迷 >> Windows Mobile >> wp8 DisplayProperties有关问题
  详细解决方案

wp8 DisplayProperties有关问题

热度:39   发布时间:2016-04-25 07:26:12.0
wp8 DisplayProperties问题
大家好
var ori =Windows.Graphics.Display.DisplayProperties.CurrentOrientation;
获取出错;
var thread =  Windows.UI.Core.CoreWindow.GetForCurrentThread();
thread为null;
既然提供了这些方法,应该能获取到吧?
有知道的,麻烦说一下,谢谢。

------解决方案--------------------
我google 你的问题,如果这里要是不是你需要的,你就得联系微软,问问他们想干嘛,
给提供了,不让事。

http://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayproperties.currentorientation

http://msdn.microsoft.com/zh-cn/library/windows/apps/windows.ui.core.corewindow.getforcurrentthread
  相关解决方案