PropertyEntry.OnPropertyChanged Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the PropertyChanged event.
OnPropertyChanged(PropertyChangedEventArgs) |
Raises the INotifyPropertyChanged PropertyChanged event. |
OnPropertyChanged(String) |
Raises the INotifyPropertyChanged event when the PropertyContainerEditMode hears that the PropertyValue has changed. |
Raises the INotifyPropertyChanged PropertyChanged event.
protected:
virtual void OnPropertyChanged(System::ComponentModel::PropertyChangedEventArgs ^ e);
protected virtual void OnPropertyChanged (System.ComponentModel.PropertyChangedEventArgs e);
abstract member OnPropertyChanged : System.ComponentModel.PropertyChangedEventArgs -> unit
override this.OnPropertyChanged : System.ComponentModel.PropertyChangedEventArgs -> unit
Protected Overridable Sub OnPropertyChanged (e As PropertyChangedEventArgs)
Parameters
The EventArgs for this event.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Raises the INotifyPropertyChanged event when the PropertyContainerEditMode hears that the PropertyValue has changed.
protected:
virtual void OnPropertyChanged(System::String ^ propertyName);
protected virtual void OnPropertyChanged (string propertyName);
abstract member OnPropertyChanged : string -> unit
override this.OnPropertyChanged : string -> unit
Protected Overridable Sub OnPropertyChanged (propertyName As String)
Parameters
- propertyName
- String
The name of the property whose value has changed.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: