ObservableObject.NotifyPropertyChanged(String) Method
Definition
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.
The method that is called when a property has changed.
void NotifyPropertyChanged(std::wstring const & propertyName = "");
protected void NotifyPropertyChanged (string propertyName = "");
member this.NotifyPropertyChanged : string -> unit
Protected Sub NotifyPropertyChanged (Optional propertyName As String = "")
Parameters
- propertyName
- String
The CallerMemberName attribute that is applied to the optional propertyName parameter causes the property name of the caller to be substituted as an argument.
Remarks
This method is called by the Set accessor of each property.