Get the screen resolution
var bounds = ApplicationView.GetForCurrentView().VisibleBounds;
var scaleFactor = DisplayInformation.GetForCurrentView().RawPixelsPerViewPixel;
var ScreenResolution = new Size(bounds.Width*scaleFactor, bounds.Height*scaleFactor);
