我想提出PropertyChanged
在一次我ViewModel
所有20個屬性,並得到了解決方案:的PropertyChanged所有屬性:消息=找不到屬性
RaisePropertyChanged(String.Empty)
見:C#/WPF: PropertyChanged for all Properties in ViewModel?
由於我使用GalaSoft.MvvmLight.ViewModelBase.RaisePropertyChanged
MVVM Light,我得到運行時錯誤:
Message=Property not found
ParamName=""
Source=GalaSoft.MvvmLight.WPF4
這是因爲MVVM Light檢查所有屬性名稱。
我該怎麼辦?
http://mvvmlight.codeplex.com/workitem/6993 – si618 2011-05-13 06:27:50