/// <summary> /// Raises the property changed. /// </summary> /// <typeparam name="T">Data type of the property.</typeparam> /// <param name="name">Name of the property.</param> /// <param name="customAction">Custom action to execute when property value changes, executed after the PropertyChanged event is raised.</param> /// <param name="newValue">New value of the property.</param> protected void RaisePropertyChanged <T>(string name, System.Action <string, T> customAction, T newValue) { INotifyPropertyChangedHelpers.RaisePropertyChanged(this, PropertyChanged, name, customAction, newValue); }
/// <summary> /// Raises the property changed event. /// </summary> /// <param name="propertyName">Property name.</param> protected void RaisePropertyChanged(string propertyName) { INotifyPropertyChangedHelpers.RaisePropertyChanged(this, PropertyChanged, propertyName); }