ObservableObject.OnPropertyChanged 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.
Overloads
OnPropertyChanged(PropertyChangedEventArgs) |
Raises the PropertyChanged event. |
OnPropertyChanged(String) |
Raises the PropertyChanged event. |
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
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 input PropertyChangedEventArgs instance.
Applies to
OnPropertyChanged(String)
Raises the PropertyChanged event.
protected void OnPropertyChanged (string? propertyName = default);
member this.OnPropertyChanged : string -> unit
Protected Sub OnPropertyChanged (Optional propertyName As String = Nothing)
Parameters
- propertyName
- String
(optional) The name of the property that changed.