[uwp]与uwp的宽高比 [英] [uwp]Aspect ratio with uwp

查看:80
本文介绍了[uwp]与uwp的宽高比的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为桌面窗口构建了一个uwp控件。您可以调整控件的大小,但我喜欢保持纵横比不变。由于某种原因,我无法设置uwp框架窗口的宽度或高度。我们怎么能不允许从任何边缘调整大小,但允许从
右下角开始。

I have build a uwp control for desktop windows. You may size the control, but I like to keep aspect ration constant. For some reason I was unable to set the width or height of uwp frame window. How can we don't allow to resize from any edge but allow from bottom right corner.

祝你好运

Agha

Agha Khan

Agha Khan

推荐答案

Agha,

我检查了UWP API文档,但我找不到可以实现此功能的API。 

I checked the UWP APIs documents but I could not find APIs that could implement this. 

您可以提交功能请求  ;关于
UserVoice
中的这一点。  

You could submit a feature request about this in the UserVoice.  

祝你好运,

Roy


这篇关于[uwp]与uwp的宽高比的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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