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
Explain about the windows phone?
is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
Tell me is asp.net forms authentication supported?
Can we intercept the search button to do an app specific search?
Is it temporary that the control styles are included in app.xaml?
Explain how to save screen from an xna app?
Suppose tried two separate web cams in the emulator and both give com errors, any clue on getting this to work?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Explain how the volume work between apps and hardware buttons on the device?
How to play video in isolatedstorage using mediaelement?
Explain where is xmldocument class?
How to deserialize json from a rest call?
How to get the geolocation data on a picture?
Explain how to restart or shutdown my application programmatically?
Can I write multi-player games using wi-fi or blue tooth in the device.?