PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Notify­Property­Changed­Attribute­Target­Class Class / Notify­Property­Changed­Attribute­Target­Class Methods / Notify­Property­Changed­Attribute­Target­Class.​On­Property­Changed Method
NotifyPropertyChangedAttributeTargetClass.OnPropertyChanged Method
Raises the PropertyChanged event. If this method is already present in the target code, the NotifyPropertyChangedAttribute aspect will use it to raise the PropertyChanged event. Otherwise, the aspect will introduce the method into the target class.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
protected virtual void OnPropertyChanged(
	string propertyName


Type: System.String
Name of the changed property. The NotifyPropertyChangedAttribute aspect never passes null to this parameter.
See Also