“ {Binding Path =。}”是什么意思?在WPF绑定中意味着什么? [英] What does "{Binding Path=.}" mean in WPF binding?
本文介绍了“ {Binding Path =。}”是什么意思?在WPF绑定中意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
{Binding Path =。}
在WPF绑定中是什么意思?
What does {Binding Path=.}
mean in a WPF binding?
我看到有人使用
绑定语法中是否还有其他特殊符号( {Binding /} $除外) c $ c>)?
Are there any other special symbols in binding syntax (other than {Binding /}
)?
推荐答案
这是绑定到当前源的简写。有关更多信息,请参见此处。
This is shorthand for binding to the current source. For more info see here.
具体从文档中:
(可选)可以使用句点(。)路径用于绑定到当前的
来源。例如,Text = {Binding}
等效于Text = {Binding Path =。}
。
这篇关于“ {Binding Path =。}”是什么意思?在WPF绑定中意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文