屏幕分辨率检测在Windows 8应用程序 [英] Screen resolution detection in Windows 8 Apps

查看:160
本文介绍了屏幕分辨率检测在Windows 8应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种办法可以检测屏幕的Windows 8应用的分辨率,这样我可以扩展,并相应地调整用户界面的元素?

Is there a way I can detect the resolution of the screen in a Windows 8 app so that I can scale and resize the elements of the UI accordingly?

如果不那么什么是去开发一个应用程序,独立解决问题的最佳方法是什么?有没有我不知道的或者是有这个就可以实现一些其他方式的标准方式?

If not then what is the best way to go about developing an app that is resolution independent? Is there a standard way that I am not aware of or is there some other way this can be achieved?

推荐答案

任何这两个文章没有解释?

Anything these two articles don't explain?

准则扩展到屏幕(Windows应用商店的应用程序)

楼宇的Windows 8:缩放到不同的屏幕

这篇关于屏幕分辨率检测在Windows 8应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆