简体   繁体   English

如何在uwp项目中隐藏最小化和最大化但保持关闭?

[英]How to hide minimize and maximize in uwp project but to keep close botton?

I need some help in hiding minimize and maximize buttons in the Titlebar but keep close button just like the following screenshot.我需要一些帮助来隐藏Titlebar最小化和最大化按钮,但保持关闭按钮,就像下面的截图一样。 Is there any api could do this?有没有api可以做到这一点?

Thanks in advance :).提前致谢 :)。标题栏

The screenshot looks your app run in the Tablet model .屏幕截图看起来您的应用程序在Tablet模型中运行。 You could enable the app to run in the Tablet model.您可以启用应用程序以在平板电脑模型中运行。 But current, there is no api to enable Tablet model programming.但是目前,还没有启用Tablet模型编程的 api。 So, you could check Tablet model option in Action Center manually.因此,您可以在操作中心手动检查平板电脑型号选项。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM