有没有办法在WPF中使用导航框架,还是仅适用于Silverlight? [英] Is there a way to use the Navigation Framework in WPF or is it only available for Silverlight?

查看:69
本文介绍了有没有办法在WPF中使用导航框架,还是仅适用于Silverlight?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,晚上好,我是Expression Blend和Visual Studio的新手,但由于我的老板要我用这个软件做一个"网页",我有点迷茫(我不喜欢没有太多建立网页的经验。我一直在读一本关于Silverlight的书
但是我的老板突然告诉我,这个项目将被内置到WPF中。由于我已经阅读了Silverlight中的导航框架和Visual Studio中的导航框架模板,我想知道是否有一些
类型的模板可用于WPF(非Silverlight)。我知道WPF比Silverlight更强大,所以我想人们实际上可以做到这一点,事实是,即使我已经阅读了本书的大部分内容,我仍然不太了解如何制作一个Navigation
框架因此我会更容易使用模板,但是当我选择WPF项目时,我无法看到模板。

Hello, Good evening, I am brandly new to Expression Blend and Visual Studio, but since my boss has asked me to do a kind of 'web-page' with this software I am kind of lost (i don't have too much experience with building webpages). I've been reading a book about Silverlight but all of a sudden my boss tells me that the project will be built into WPF. Since i have read about the Navigation Framework in Silverlight and the Navigation Framework template found in Visual Studio i am wondering if there is some kind of template that I can use for WPF (Not Silverlight). I understand that WPF is more powerful than Silverlight so i suppose one can actually do this, the thing is that even tho i have read most of the book, i still don't quite get how to make a Navigation Framework from scratch so it would be easier for me to use a template, i Can't however see the template when i choose a WPF project instead.

所以我有三个问题:

1.-是否有类似WPF的导航框架?

1.-Is there something like a Navigation Framework for WPF?

2.-导航框架是在WPF中构建网页的唯一方法吗? (也就是说,主页+子菜单)

2.-Is Navigation Framework the only way to build a webpage in WPF? (this is to say, mainpage+submenus)

3.-使用Blend构建网页的确切步骤是什么?我想出了一个解决方案(调用故事板),但我不知道这个appreach是否正确。动画是好的,但是将页面与另一个页面链接起来(谁可能以动画开头)是我b
$ b的地方很难。

3.-what is the exact procedure to build a webpage with Blend? i figured out a solution (calling storyboards) but I don't know if this appreach is correct. Animations are good, but linking a page with another (Who may start with an animation) is where I've been having difficult.

感谢您的回复,如果你知道任何可以帮助我使用Blend的书,用它创建一个网页和WPF 我会很感激(我也看过这里的大部分视频)。

Thank you for your replies, if you know of any book that may help me with Blend, creating a webpage with it and WPF I will appreciate it (I have watched most videos in here too).

Mr。 Fernando Sotomayor。

Mr. Fernando Sotomayor.

推荐答案

1。是的,SL一个主要是WPF的子集。搜索"WPF导航框架"的第一个结果是是MSDN页面:http://msdn.microsoft.com/en-us/library/ms750478.aspx

1. Yes, the SL one is mostly a subset of the WPF one. The first result of a search for "WPF Navigation Framework" is the MSDN page: http://msdn.microsoft.com/en-us/library/ms750478.aspx

2。不,不是,只是众多方式中的一种。如果你需要,它确实可以让你内置前进/后退按钮和历史记录。类似于Windows资源管理器在win 7中的工作方式。

2. No, not at all, just one of many ways. It does get you built in forward/back buttons and history if you want it. Similar to how windows explorer works in win 7.

3。如果要使用导航框架,请阅读MSDN页面,并使用Page对象,这些对象可以相互链接。除此之外,故事板只是SL和WPF平台中众多功能之一。

3. If you want to use the navigation framework, read the MSDN page, and use Page objects, these can link between each other. Beyond that, storyboards are just one of many features in the SL and WPF platforms.


这篇关于有没有办法在WPF中使用导航框架,还是仅适用于Silverlight?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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