How can I get a screen resolution of Device (Windows Phone)
c#, silverlight, silverlight-3.0, silverlight-4.0, windows-phone-7
Solution
public void GetScreenResolution()
{
string ScreenWidth = Application.Current.Host.Content.ActualWidth.ToString();
string ScreenHeight = Application.Current.Host.Content.ActualHeight.ToString();
MessageBox.Show(ScreenWidth + "*" + ScreenHeight);
}
Problem
How can I get a screen resolution of Device from settings (Windows Phone) ?