INotifyPropertyChanged property name - hardcode vs reflection?

前端 未结 16 1565
感动是毒
感动是毒 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:47

    You might be interessted in this discussion about

    "Best Practices: How to implement INotifyPropertyChanged right?"

    too.

提交回复
热议问题