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 where is xmldocument class?
What is windows phone bluetooth?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Explain how to play two mediaelements at once?
Where is xmldocument class?
How to detect if my application is exiting so I can save state?
How to play video in isolatedstorage using mediaelement?
Explain how to edit location for weather?
Tell me are there api's to read rss/atom feeds?
Does the web browser control share the ie cache?
Tell me What are the supported codecs for video?
Explain how to sniff network traffic from the emulator?