WPF应用程序中的全屏 [英] Full screen in WPF application

查看:64
本文介绍了WPF应用程序中的全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发WPF应用程序,它将以全屏显示。
此外,该应用程序还可以在多种尺寸的平板电脑上运行。
我希望我的应用程序可以独立于其尺寸在全屏模式下运行。

I am developing a WPF application which will be displayed in Full screen. In addition, the application should work on many tablets of multiple dimensions. I'd like my application to run in full screen independently from its dimensions.

完成此任务的最佳做法是什么?

What is the best practice to accomplish this task?

推荐答案

只需将 WindowState 设置为 Maximized ,将 WindowStyle 更改为 None

Just set the WindowState to Maximized, and the WindowStyle to None.

这篇关于WPF应用程序中的全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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