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 the windows phone front page?
Tell me is it possible to use custom pixel shader in xna?
Does the web browser control share the ie cache?
Explain how to dismiss the sip programmatically?
Is wcf supported in windows phone?
Explain Windows Phone Multitasking?
Explain how to save silverlight uielements into an image?
How to send suggestions on how to better the app to the AP?
Tell me is wcf supported in windows phone?
What are temporary files on my phone?
How to detect the resolution of my device?
Tell me is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?