private void AddPropertyChangedHandler(object item) { var notifyPropertyChanged = item as INotifyPropertyChanged; if (notifyPropertyChanged != null) { notifyPropertyChanged.PropertyChanged += HandleNotifyPropertyChanged; } }