Answer Posted / diana
(App.Current.RootVisual as FrameworkElement).ActualHeight and (App.Current.RootVisual as FrameworkElement).ActualWidth gives you device's resolution
If you want to know the visible size (taking AppBar / SystemTray into account) then just ask for it off the page instead.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how to edit locations for local?
Explain how to manage my isolated storage quota?
How to play two mediaelements at once?
Explain how to change language settings?
What is windows phone bluetooth?
I looked through the medialibrary class in xna, and it looks like we can only enumerate through audio, but not video content in the media library?
Tell me is there a way to detect if application is idle?
Is asp.net forms authentication supported?
Can we intercept the search button to do an app specific search?
Why did my phone go into safe mode?
How do you know you have a virus on your phone?
What is windows phone user interface?
Can I use my phone as a boot device?
Tell me can I write multi-player games using wi-fi or blue tooth in the device.?
Explain how to send suggestions on how to better the app to the ap?