protected void NotifyPropertyChanged() { //tell any data binding if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs("option")); //todo } //tell our parent if (_parent != null) { _parent.NotifyPropertyChanged("option"); } }
private void NotifyPropertyChanged() { if (_suspendNotification) { return; } //tell any data binding if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs("option")); //todo } //tell our parent if (_parent != null) { _parent.NotifyPropertyChanged("option"); } }