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