如何将WPF SketchFlow项目设置为全屏? [英] How to make a WPF SketchFlow project into Full screen?

查看:77
本文介绍了如何将WPF SketchFlow项目设置为全屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问,任何人都知道如何将WPF SketchFlow项目设置为全屏?
该项目不用于网站。
我想在触摸屏上将该项目用作用户界面应用程序监视器。
所以我希望它显示为全屏风格。
怎么样?拜托。
非常感谢。

Luke

Please, Anyone knows how to make a WPF SketchFlow project into Full screen?
This project is not using for a web site.
I want to use the project as an user interface application on a touch_screen monitor.
So I would like it is displayed into a full screen style.
How to? please.
Thanks a lot advance.

Luke


推荐答案

Just在代码隐藏中改变它!在调用InitializeComponent()之后,再添加几行,如下所示:


Just change it in the code-behind!  After the call to InitializeComponent(), add a couple more lines like these:

this.Width = System.Windows.SystemParameters.PrimaryScreenWidth;
this.Height = System.Windows.SystemParameters.PrimaryScreenHeight


这篇关于如何将WPF SketchFlow项目设置为全屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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