Screen Resolution Problem In WPF ?
- by Mohammad
I'm gonna detect the resolution with the following code in WPF :
double height = System.Windows.SystemParameters.PrimaryScreenHeight;
double width = System.Windows.SystemParameters.PrimaryScreenWidth;
Current resolution of my screen is 1920*1200, but height is 960.0 and width is 1536.0 !!!
What's wrong with it ?
Thanks in advance.