/// <summary> /// Raises the PropertyChanged event. /// </summary> /// <param name="s">Event arguments</param> protected virtual void OnPropertyChangedEx(string s) { PropertyChangedEventHandler eh = PropertyChanged; if (eh != null) { VisualPropertyChangedEventArgs e = new VisualPropertyChangedEventArgs(s); eh(this, e); } }
/// <summary> /// Raises the PropertyChanged event. /// </summary> /// <param name="e">Event arguments</param> protected virtual void OnPropertyChanged(VisualPropertyChangedEventArgs e) { PropertyChangedEventHandler eh = PropertyChanged; if (eh != null) eh(this, e); }