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 about windows phone web browser?
Explain Windows Phone Multitasking?
How to identify a device or a user?
Explain how the volume work between apps and hardware buttons on the device?
Can we intercept the search button to do an app specific search?
What is windows phone web browser?
Is there any internal page notification that it receives to detect a phone call?
Can I use my phone as a boot device?
Tell me Will TextTrimming property be available on TextBlock?
Tell me can I turn article photos off?
How to customize front page?
Tell me in my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?