Windows Presentation Foundation中的数据绑定 [英] DataBinding in Windows Presentation Foundation
本文介绍了Windows Presentation Foundation中的数据绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个TextBox和一个名为FirstName的字符串变量.
我想将此变量绑定到该texbox.
这意味着当我更改FirstName的值时,文本框文本也会自动更改.
Hi,
I have a TextBox and a string variable named FirstName.
I want to bind this variable to that texbox.
That means when I change value of FirstName also textbox text will change automatically.
推荐答案
您确实需要从基础开始! 开始使用 msdn [
You really need to start from the basics!
Begin using msdn[^].
You might also want to consider reading some books on WPF.
这是非常基本的内容...
阅读. [ ^ ]
This is very basic stuff...
Read This.[^]
这篇关于Windows Presentation Foundation中的数据绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文