Bowser Like WPF应用程序 [英] Bowser Like WPF application

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

问题描述

我正在制作wpf应用程序,并且我希望像浏览器一样在选项卡中托管页面(而不是网页),我希望这些选项卡可以动态创建.
简而言之,我希望行为相同,就像任何浏览器一样,除了要显示的内容是我自己的wpf页面,
如何使用后退"和前进"按钮获取当前的导航服务(当前"选项卡中的导航"),请告诉我一个简单的解决方案,即在每个选项卡"项中使用框架,如果有人可以帮助您举例说明,那将非常很好,谢谢...

I am making wpf Application, and i want to host pages (Not web pages) in tabs just like browsers, i want the tabs to be created Dynamically.
in short i want behaviour same Like, any browser, except the content to display are my own wpf pages,
How to use the Back and Forward Buttons, to take the current navigation service (Navigation in the Current Tab), Please tell me a simple Solution, using frames inside each Tab item, if anyone can help with some example, so it would be very nice Thanks...

推荐答案

您可以使用Tab控件&在其中您可以放置​​Web浏览器控件.通过下面的链接可以帮助您入门.
http://bettertabcontrol.codeplex.com/ [ ^ ]
http://stackoverflow.com/questions/4932750/how-to-make-sure-wpf-webbrowser-is-loaded-in-tabcontrol [ http://viettp.wordpress .com/2010/01/08/enjoy-wpf-make-tabcontrol-in-wpf-look-like-browser-tabs/ [ http://chriscavanagh.wordpress.com/2009/08/25/a-real -wpf-webbrowser/ [ ^ ]
You can have a Tab Control & inside them you can put web browser control. go through below links it helps you get started.
http://bettertabcontrol.codeplex.com/[^]
http://stackoverflow.com/questions/4932750/how-to-make-sure-wpf-webbrowser-is-loaded-in-tabcontrol[^]
http://viettp.wordpress.com/2010/01/08/enjoy-wpf-make-tabcontrol-in-wpf-look-like-browser-tabs/[^]
http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/[^]


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

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