带有富文本的列表 [英] List with Rich Text

查看:114
本文介绍了带有富文本的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

谁能帮我,我需要在Windows窗体上显示数据库中的字段列表.现在我的问题是字段中的数据是富文本类型的.

我可以使用哪种控件以RTF格式显示此字段列表.除datagridview以外的所有控件.

我应该从控件继承并创建自定义控件吗?如果有的话,任何人都有任何可以帮助我入门的链接.

谢谢您的帮助,不胜感激.

Hello everyone,

Can anyone please help me, I need to display a list of fields from the database onto my windows form. Now my problem is that the data in the fields is of type rich text.

What control can I use that I can display this list of fields in rich text format. All controls except a datagridview.

Should I inherit from a control and make a custom one? if so anyone has any links that can get me started.

Thank you any help would be greatly appreciated.

推荐答案

如何从RTF转换为HTML(第三方库),然后使用WebControl显示片段,与两者之间的HR线一起添加.

另一个想法可能是将RTF片段连接为一个RTF片段,并显示在标准RTF文本框中.
How about converting from RTF to HTML (3rd party library) and then using a WebControl to display the fragments, added together with HR lines in between.

Another idea could be to concatenate the RTF fragments into one RTF fragment and display in a standard RTF text box.


好主意,但我的问题是我需要用户能够选择一个或更多这些项目.
Good idea but my problem is that I need the user to be able to choose one or more of these items.


这篇关于带有富文本的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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