网页与窗口在WPF? [英] Page vs Window in WPF?

查看:85
本文介绍了网页与窗口在WPF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是什么页面,并在WPF窗口时要添加在Solution Explorer中一个新的文件之间的差异?

What is the difference between a Page and a Window in WPF when you are adding a new file in the Solution Explorer?

推荐答案

页面被设计用于导航应用(通常使用后退和前进按钮,如Internet Explorer)中。页面必须在NavigationWindow托管或帧

Pages are intended for use in Navigation applications (usually with Back and Forward buttons, e.g. Internet Explorer). Pages must be hosted in a NavigationWindow or a Frame

Windows是只是正常的WPF应用程序的Windows,但可以通过一个框架容器承载页

Windows are just normal WPF application Windows, but can host Pages via a Frame container

这篇关于网页与窗口在WPF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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