首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Windows Mobile >

wp8 DisplayProperties有关问题

2013-03-22 
wp8 DisplayProperties问题大家好var ori Windows.Graphics.Display.DisplayProperties.CurrentOrientati

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

热点排行