Trying to avoid the .net WebBrowser control (I don't need to navigate to a url, print rendered html or any of the other inbuilt goodies). Wrapping the IE dll seems a bit heavyweight.
尽量避免使用。net WebBrowser控件(我不需要导航到url、打印呈现的html或任何其他内置的好东西)。包装IE dll似乎有点重量级。
I simply require something that can display basic html marked up text - an html equivalent of RichTextBox in effect. Anyone have any experiences / recommendations / war stories?
我只需要一些可以显示基本的html标记文本的东西——实际上相当于html的RichTextBox。有人有什么经历/建议/战争故事吗?
5 个解决方案
#1
7
I developed this HTML control for .NET, which does what you were asking: i.e. display basic html marked up text.
我为。net开发了这个HTML控件,它实现了您所要求的:即显示基本的HTML标记文本。
It doesn't use IE or any other unmanaged code (except for the .NET framework itself).
它不使用IE或任何其他非托管代码(除了. net框架本身之外)。
#2
1
Lutz Roeder (of Reflector fame) has a WYSIWYG HTML editor in .NET on his site here: http://www.lutzroeder.com/dotnet/. Check out the download called "writer". I haven't used it myself, but it was the first thing that popped into my mind.
Lutz Roeder (the Reflector fame)在他的网站http://www.lutzroeder.com/dotnet/上有一个WYSIWYG HTML编辑器。查看下载的“writer”。我自己还没有用过,但这是我第一次想到它。
#3
0
While it takes a bit of effort, you can disable almost all of the 'extra' functionality of the built in WebBrowser control.
虽然这需要一点努力,但您可以禁用WebBrowser控件中内置的几乎所有“额外”功能。
If the built in web browser provides all the functionality you need why look elsewhere?
如果内建的web浏览器提供了所需的所有功能,为什么还要到其他地方去找呢?
#4
0
J. Menendez Poo's fully managed HTML renderer isn't complete, but it's by far the best I've found.
J. Menendez Poo的完全管理的HTML渲染器还没有完成,但它是我找到的最好的。
I still have to try it in depth, but looks a lot more promising than the other alternative:
我仍需深入尝试,但看起来比其他选择更有希望:
- Bruce Shankle's Anole
- 布鲁斯Shankle的变色龙
This assuming you don't actually need the editing capability's of Lutz Roeder's Writer.
假设你实际上不需要鲁兹·罗德尔的编辑能力。
#5
0
Might want to take a look at Awesomium. I've had success with it in .net apps.
也许你想看看Awesomium。我已经在。net应用中取得了成功。
#1
7
I developed this HTML control for .NET, which does what you were asking: i.e. display basic html marked up text.
我为。net开发了这个HTML控件,它实现了您所要求的:即显示基本的HTML标记文本。
It doesn't use IE or any other unmanaged code (except for the .NET framework itself).
它不使用IE或任何其他非托管代码(除了. net框架本身之外)。
#2
1
Lutz Roeder (of Reflector fame) has a WYSIWYG HTML editor in .NET on his site here: http://www.lutzroeder.com/dotnet/. Check out the download called "writer". I haven't used it myself, but it was the first thing that popped into my mind.
Lutz Roeder (the Reflector fame)在他的网站http://www.lutzroeder.com/dotnet/上有一个WYSIWYG HTML编辑器。查看下载的“writer”。我自己还没有用过,但这是我第一次想到它。
#3
0
While it takes a bit of effort, you can disable almost all of the 'extra' functionality of the built in WebBrowser control.
虽然这需要一点努力,但您可以禁用WebBrowser控件中内置的几乎所有“额外”功能。
If the built in web browser provides all the functionality you need why look elsewhere?
如果内建的web浏览器提供了所需的所有功能,为什么还要到其他地方去找呢?
#4
0
J. Menendez Poo's fully managed HTML renderer isn't complete, but it's by far the best I've found.
J. Menendez Poo的完全管理的HTML渲染器还没有完成,但它是我找到的最好的。
I still have to try it in depth, but looks a lot more promising than the other alternative:
我仍需深入尝试,但看起来比其他选择更有希望:
- Bruce Shankle's Anole
- 布鲁斯Shankle的变色龙
This assuming you don't actually need the editing capability's of Lutz Roeder's Writer.
假设你实际上不需要鲁兹·罗德尔的编辑能力。
#5
0
Might want to take a look at Awesomium. I've had success with it in .net apps.
也许你想看看Awesomium。我已经在。net应用中取得了成功。