简体   繁体   English

如何在WPF中显示HTML帮助文件

[英]How to display HTML help file in WPF

I have a help file, in HTML format, that I need to display within my MVVM Application in WPF. 我有一个HTML格式的帮助文件,需要在WPF的MVVM应用程序中显示该文件。 I don't want to use anything WinForms related and I don't want any dependency on ActiveX or IE. 我不想使用任何与WinForms相关的东西,也不想对ActiveX或IE有任何依赖性。 Is there not a simple and out-of-the-box way to do this in WPF? 在WPF中是否没有一种简单而即用的方法来做到这一点? Do I need to go through the hassel of writing converters and other unwanted code? 我是否需要经历编写转换器和其他不需要的代码的麻烦?

Check this project . 检查这个项目 It's Silverlight libary but you can recompile this in ClassLibrary. 它是Silverlight库,但是您可以在ClassLibrary中重新编译它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM