INotifyPropertyChanged property name - hardcode vs reflection?

前端 未结 16 1598
感动是毒
感动是毒 2020-11-28 05:13

What is the best way to specify a property name when using INotifyPropertyChanged?

Most examples hardcode the property name as an argument on the PropertyChanged E

16条回答
  •  鱼传尺愫
    2020-11-28 05:40

    Yet another approach: http://www.codeproject.com/Articles/450688/Enhanced-MVVM-Design-w-Type-Safe-View-Models-TVM

提交回复
热议问题