How can I get a screen resolution of Device (Windows Phone)
How can I get a screen resolution of Device from settings (Windows Phone) ? public void GetScreenResolution() { string ScreenWidth = Application.Current.Host.Content.ActualWidth.ToString(); string ScreenHeight = Application.Current.Host.Content.ActualHeight.ToString(); MessageBox.Show(ScreenWidth + "*" + ScreenHeight); } This may be a better way to know what screen resolution is your app running on. if(App.Current.Host.Content.ScaleFactor == 100) { // WVGA } else if (App.Current.Host.Content.ScaleFactor == 160) { // WXGA } else if (App.Current.Host.Content.ScaleFactor == 150) { // 720p }