As an UWP App runs in window mode on common desktop systems the \"old\" way of getting the screen resolution won\'t work anymore.
Old Resolution with Window.C
Window.C
The only way I found is inside the constructor of a Page:
public MainPage() { this.InitializeComponent(); var test = ApplicationView.GetForCurrentView().VisibleBounds; }
I have not tested in Windows 10 Mobile, when the new release appears I will test that.