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 |
Explain how to sniff network traffic from the emulator?
Tell me can I turn article photos off?
Tell me is there a way to detect if application is idle?
Explain how to detect the resolution of my device?
The MarketPlace Launchers overloads for Show has parameters, what are these?
Explain does the web browser control share the ie cache?
Explain how to identify a device or a user?
Explain about windows phone web browser?
How to show the sip keyboard in xna app?
Is .bmp format supported?
Explain Windows Phone Multitasking?
Tell me are there canned mvvm "data behaviors" planned for wp7?