Windows Phone (WP) Question:
Download Questions PDF

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.

Download Windows Phone Interview Questions And Answers PDF

Previous QuestionNext Question
How to dismiss the SIP programmatically?Tell me what happened to TopLevelNavigationService, it is not there on April CTP Refresh?