uwp 获取屏幕分辨率
public static Size ScreenSize { get { //screen resolution var height = DisplayInformation.GetForCurrentView().ScreenHeightInRawPixels; var width = DisplayInformation.GetForCurrentView().ScreenWidthInRawPixels; return new Size(width,height); } }
fffffffffffffffff
test red font.