摘要:
1、XAML:<TextBox Name="textbox1"></TextBox>cs: public class Customer { public string Name { get;set;} } Customer customer = new Customer() { Name = "Zhangjinshan" }; Binding bind = new Binding(); bind.Source = customer; bind.Path = new PropertyPath("Name"); t
阅读全文