本文介绍了我想在我的 C# webform 文本框中使用不同的颜色!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在 .net C# webforms 文本框中以不同的方式格式化文本行,例如.有些线条是斜体还是不同的颜色?我知道我可以在 Windows 表单中使用,是否有适用于 Web 表单的 Richtextbox 替代方案?我发现很多人问但没有答案...请你帮忙吗?
I want to format lines of text differently in a .net C# webforms text box, eg. some lines italic or different colour? I know I can in windows forms, is there a richtextbox alternative for webforms? I find a lot of people asking but no answer...please can you help?
推荐答案
如果您想在一个控件上使用颜色、斜体和粗体 - 那么您需要一个丰富的 HTML 编辑控件.看看 FCKeditor 和 TinyMCE
If you want colours, italic and bold all on the one control - then you want a rich HTML edit control. Have a look at FCKeditor and TinyMCE
这篇关于我想在我的 C# webform 文本框中使用不同的颜色!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!