如何在WPF中创建文本编辑器 [英] how to create text editor in WPF

查看:670
本文介绍了如何在WPF中创建文本编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建允许创建文件并以html格式保存的文本编辑器..意味着将文件保存为.html格式....我创建了仅将文件保存为.rtxt文件的富文本编辑器...另外,该编辑器还会打开html文件...
任何人都可以帮我...或者给我指导来创建这样的编辑器..i在这一方面,我已经引用了rtf文本编辑器artical,但是它以rtf格式保存了....

I want to create text editor which allow to create file and saved in html format..means save the file in .html format....i created the rich text editor which only saved file in .rtxt file...Also that editor open the html file...
can any one help me...or give me guidence to create such editor ..i have refed rtf text editor artical on this side but it save in rtf format....

推荐答案

您可以使用网络浏览器控件来显示HTML,但是要使编辑器实际上具有用于编辑HTML的功能,则需要自己编写.
You can use a web browser control to show HTML, but to make an editor that actually has features for editing HTML, you need to write that your self.


选中它


这篇关于如何在WPF中创建文本编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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