在运行时绑定文本 [英] Binding Text at runtime

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

问题描述

如何在运行时将文本与富文本框绑定到特定位置?

How to bind a text with a rich text box at run time in a particular location?

推荐答案

您可以使用任何文本设置文本框的text属性你想要的,无论你想要什么来源。你的问题毫无意义,因为





a - 你不会告诉我们你在做什么(网络?窗户? WPF?Winforms?)

b - 你不会说你的文字来自哪里

c - 特定位置这个词没有我能看到的可理解的含义,使这句话变得无稽之谈。



请编辑你的问题,这样才有意义。
You set the text property of the text box with whatever text you want, from whatever source you want. Your question makes no sense because


a - you don''t tell us where you''re doing this ( web ? windows ? WPF ? Winforms ? )
b - you don''t say where your text comes from
c - the words ''particular location'' have no intelligible meaning that I can see, rendering the sentence to be nonsense.

Please edit your question so it makes sense.


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

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