且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用MVVM将列表绑定到WPF中的ComboBox

更新时间:2022-06-07 03:29:13

在p ublic List< string>中MyComboBoxData setter,base.OnPropertyChanged的参数应该是属性的确切名称 - MyComboBoxData - 大写字母M且没有空格
In the public List<string> MyComboBoxData setter, the argument of base.OnPropertyChanged should be exact name of the property - "MyComboBoxData" - capital M and no space.