Windows Phone (WP) Question:
How to detect the resolution of my device?
Answer:
(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.
If you want to know the visible size (taking AppBar / SystemTray into account) then just ask for it off the page instead.
Previous Question | Next Question |
How to dismiss the SIP programmatically? | Tell me what happened to TopLevelNavigationService, it is not there on April CTP Refresh? |