ObservableObject.OnPropertyChanging 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
OnPropertyChanging(PropertyChangingEventArgs) |
Raises the PropertyChanging event. |
OnPropertyChanging(String) |
Raises the PropertyChanging event. |
OnPropertyChanging(PropertyChangingEventArgs)
Raises the PropertyChanging event.
protected virtual void OnPropertyChanging (System.ComponentModel.PropertyChangingEventArgs e);
abstract member OnPropertyChanging : System.ComponentModel.PropertyChangingEventArgs -> unit
override this.OnPropertyChanging : System.ComponentModel.PropertyChangingEventArgs -> unit
Protected Overridable Sub OnPropertyChanging (e As PropertyChangingEventArgs)
Parameters
The input PropertyChangingEventArgs instance.
Applies to
OnPropertyChanging(String)
Raises the PropertyChanging event.
protected void OnPropertyChanging (string? propertyName = default);
member this.OnPropertyChanging : string -> unit
Protected Sub OnPropertyChanging (Optional propertyName As String = Nothing)
Parameters
- propertyName
- String
(optional) The name of the property that changed.