从 Xaml 绑定 RichTextBox 的文本 [英] Bind the text of RichTextBox from Xaml
本文介绍了从 Xaml 绑定 RichTextBox 的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从xaml绑定RichTextArea的文本
How to Bind the text of RichTextArea from xaml
推荐答案
没有内置的方法可以做到这一点.您可以创建文本附加属性并像讨论的那样绑定到它 这里
There is no built in way to do that. You can create Text attached property and bind to it like discussed here
这篇关于从 Xaml 绑定 RichTextBox 的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文