[window store 8程序开发]获取设备屏幕分辨率

来源:互联网 发布:桃源网络硬盘5.8 破解 编辑:程序博客网 时间:2024/04/25 14:06

获取设备屏幕分辨率 

Windows.UI.Xaml.Window.Current.Bounds.Width;
Windows.UI.Xaml.Window.Current.Bounds.Height;