How to detect the resolution of my device?
Answer / 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 |
What is windows phone media support?
What is safety mode on my phone?
How to customize front page?
How to edit location for weather?
Explain about the windows phone?
How to change language settings?
What happened to toplevelnavigationservice, it is not there on april ctp refresh?
Explain how to send suggestions on how to better the app to the ap?
Can not find phoneapplicationpage.fullscreen in april ctp?
Explain how to deserialize json from a rest call?
Tell me about the Windows Phone?
Tell me where is the best recommended place to store both static and user-specified configuration information?