Xaml 中的 C# html
我有以下问题:
所以我有一个带有输入字段等的 HTML 字符串...并且我在 xaml 中有一个用户控件,我想在其中显示此 html。但是当有输入字段时,应该可以更改输入字段中的文本。并且一切都应该是可编辑的。
I have the following problem:
So I have an HTML string with inputfields etc... And I have a usercontrol in xaml where I want to show this html. but when there's an input field there shoould be the possibility to change the text in the inputfield. And everything should be editable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 WPF 中进行富文本编辑,并且可以将结果转换为 XAML、HTML、..
一些可帮助您入门的资源:
http://www.developerfusion.com/community/blog-entry/8393336/bindable-wpf-richtext-editor -with-xamlhtml-convertor/
http://www.silverlightshow.net/news/Bindable-WPF-RichText-Editor-with-XAML-HTML-Convertor-.aspx
You can do Rich Text editing in WPF, and you can convert the results to/from XAML, HTML, ..
Some resources to get you started:
http://www.developerfusion.com/community/blog-entry/8393336/bindable-wpf-richtext-editor-with-xamlhtml-convertor/
http://www.silverlightshow.net/news/Bindable-WPF-RichText-Editor-with-XAML-HTML-Convertor-.aspx