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