绑定的RichTextBox的XAML的文本 [英] Bind the text of RichTextBox from Xaml

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

问题描述

如何绑定RichTextArea从XAML文本

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

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

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