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 get the geolocation data on a picture?
Tell us about Windows Phone Web browser?
Tell me in my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Can we control the web browser controls zoom?
Tell me is it temporary that the control styles are included in App.xaml?
How to restart or shutdown my application programmatically?
Tell me can I turn article photos off?
How to detect if my application is exiting so I can save state?
Is .bmp format supported?
How do I find my downloads on this phone?
What is windows phone?
How to pin an app on the emulator?