I want to know the screen resolution so that I can set the height of an element according to the resolution in a Windows 8 app.
How about this?
var bounds = Window.Current.Bounds; double height = bounds.Height; double width = bounds.Width;
1.4m articles
1.4m replys
5 comments
57.0k users