Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
У этого кода есть два недостатка:
- Имя свойства задается по имени, а это чревато ошибками.
Первое решается с использованием Expression
The first method involves using reflection.
…
Property change notifications can be provided either by implementing the INotifyPropertyChanged interface ...
The third method for resolving object references involves a source object that is a DependencyObject and a source property that is a DependencyProperty. In this case, the data binding engine does not need to use reflection. Instead, the property engine and the data binding engine together resolve the property reference independently. This is the optimal method for resolving object references used for data binding.
Облегченная разработка WP7 приложений при помощи Caliburn.Micro framework (ч.1)