WPF-ListBox绑定不成功原因总结

1. ItemSource设置是否正确

2.ItemTemplate设置是否正确

3.DataTemplate是否与单个项实现对应

4.设定为ItemSource的类是否继承INotifyPropertyChanged接口

猜你喜欢

转载自www.cnblogs.com/mengjiulong/p/10111331.html