是否可以创建无边界的 UWP 应用程序? [英] Is it possible to create a borderless UWP application?

查看:32
本文介绍了是否可以创建无边界的 UWP 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 WPF 中,我们可以将 WindowStyle 设置为 None 以创建无边框"窗口.

In WPF, we can set WindowStyle to None to create a "borderless" window.

但是,我发现 UWP 只包含页面.

But, I found that UWP contains pages only.

有没有办法在 UWP 中实现无边框窗口?

Is there any way to have borderless windows in UWP?

推荐答案

这样做是不可能的,但是您可以让您的应用全屏显示或将其内容扩展到标题栏,这样您就可以获得更多位置来放置内容.另一个类似的事情可能是使用画中画模式,但这些窗口总是高于其他 AFAIK.

It's not possible to do the same, however you could make your app go fullscreen or expand its content into title bar so you'll get more place for the content. Another similar thing may be using Picture In Picture mode, but these windows are always above others AFAIK.

阅读有关 UWP 中全屏的更多信息,例如 这里,关于将内容扩展到标题栏这里 和关于 PIP 模式 此处.

Read more about fullscreen in UWP for example here, about expanding the content into title bar here and about the PIP mode here.

这篇关于是否可以创建无边界的 UWP 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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