虚位以待(AD)
虚位以待(AD)
首页 > 软件编程 > WindowsPhone/WindowsMobile > windows phone开发之获取屏幕分辨率 和 系统版本

windows phone开发之获取屏幕分辨率 和 系统版本
类别:WindowsPhone/WindowsMobile   作者:码皇   来源:互联网   点击:

屏幕分辨率大小(这个目前都是480*800):屏幕宽度(Double) System Windows Application Current Host Content ActualWidth屏幕高度(Double) System Windows Application Current Host Content ActualHeig
屏幕分辨率大小(这个目前都是480*800):
屏幕宽度(Double)  System.Windows.Application.Current.Host.Content.ActualWidth
屏幕高度(Double)  System.Windows.Application.Current.Host.Content.ActualHeight
 
操作系统版本:
System.Environment.OSVersion.ToString()


摘自 fengyarongaa
相关热词搜索: windows phone 开发