public static Size ScreenSize { get { //screen resolution var height = DisplayInformation.GetForCurrentView().ScreenHeightInRawPixels; var width = DisplayInformation.GetForCurrentView().ScreenWidthInRawPixels; return new Size(width,height); } }
public static Size ScreenSize { get { //screen resolution var height = DisplayInformation.GetForCurrentView().ScreenHeightInRawPixels; var width = DisplayInformation.GetForCurrentView().ScreenWidthInRawPixels; return new Size(width,height); } }