Modifier

Partager via


ObservableObject.OnPropertyChanging Method

Definition

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

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.

Applies to