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.Current.Bounds
was like shown in.
Is there another way to get the resolution of the (primary) display?
See Question&Answers more detail:os