Answer Posted / 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 |
Post New Answer View All Answers
is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
How to play two mediaelements at once?
Tell me is there any internal page notification that it receives to detect a phone call?
How to customize front page?
How to show the sip keyboard in xna app?
Tell me are there canned mvvm "data behaviors" planned for wp7?
Why did my phone go into safe mode?
Explain about windows phone web browser?
Explain how to dismiss the sip programmatically?
How to play video in isolatedstorage using mediaelement?
Explain starting with april ctp refresh, I can compile and debug my xna game, but it does not show up in list of applications when I am not launching it on thedebugger?
Suppose my site is down, and async calls are taking too long to timeout. How can I set a reasonable timeout?
What happened to toplevelnavigationservice, it is not there on april ctp refresh?
Explain how to detect if my application is exiting so I can save state?
What is windows phone bluetooth?