Method OnPropertyChanging
OnPropertyChanging(PropertyChangingEventArgs)
Raises the PropertyChanging event.
Declaration
protected virtual void OnPropertyChanging(PropertyChangingEventArgs e)
Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyChangingEventArgs | e | The event data.  | 
    
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | 
  | 
    
OnPropertyChanging(string?)
Raises the PropertyChanging event.
Declaration
protected void OnPropertyChanging(string? propertyName = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | propertyName | The name of the property that is changing.  |