windows phone开发之获取屏幕分辨率 和 系统版本

屏幕分辨率大小(这个目前都是480*800):

屏幕宽度(Double)  System.Windows.Application.Current.Host.Content.ActualWidth 

屏幕高度(Double)  System.Windows.Application.Current.Host.Content.ActualHeight

 

操作系统版本:

System.Environment.OSVersion.ToString()



posted @ 2012-01-11 11:55  javawebsoa  Views(155)  Comments(0Edit  收藏  举报