我发现了这个
WPF Binding CheatSheet
几个月前,发现它非常有用,特别是对于任何学习WPF的人。里面有一些拼写错误,但仍然很好。
下面是一个小摘录(应该是表格格式):
Basic Binding
{Binding} Bind to current DataContext.
{Binding Name} Bind to the âNameâ proeprty of the current DataContext.
{Bindind Name.Length} Bind to the Length property of the object in the Name property of the current DataContext.
{Binding ElementName=SomeTextBox, Path=Text} Bind to the âTextâ property of the element XAML element with name=âSomeTextBoxâ or x:Name=âSomeTextBoxâ.
Direct link to CheatSheet