如何在Windows 8移动应用程序中实现响应式设计。 [英] How to implement responsive design in windows 8 mobile app.

查看:75
本文介绍了如何在Windows 8移动应用程序中实现响应式设计。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Windows Phone 8.1。我想做响应式设计,以便它适用于所有分辨率设备。怎么办呢?

我有分层的代码。

<前lang =cs> var bounds = Window.Current.Bounds;
double height = bounds.Height;
double width = bounds.Width;



如何在xaml中使用它?

解决方案

检查一下:设计UWP应用 [ ^ ]

esp 通用Windows平台(UWP)应用的响应式设计101 [ ^ ]


I am developing windows phone 8.1. I want to do responsive design so that it will work for all resolution devices. how can do that?
I have tiered bellow code.

var bounds = Window.Current.Bounds;
           double height = bounds.Height;
           double width = bounds.Width;


How to use it in xaml?

解决方案

Check this out: Design UWP apps[^]
esp Responsive design 101 for Universal Windows Platform (UWP) apps[^]


这篇关于如何在Windows 8移动应用程序中实现响应式设计。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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