{WP7/WP8·获取屏幕大小}
获取屏幕大小
this.ScreenWidth = System.Windows.Application.Current.Host.Content.ActualWidth;
this.ScreenHeight = System.Windows.Application.Current.Host.Content.ActualHeight;
这是动态绑定的方法
Height="{Binding ElementName=LayoutRoot,Path=ActualHeight}"