[]
Called when a property changed.
protected virtual void OnPropertyChanged(string propertyName, object oldValue, object newValue, bool needRefresh = true)
Protected Overridable Sub OnPropertyChanged(propertyName As String, oldValue As Object, newValue As Object, Optional needRefresh As Boolean = True)
| Type | Name | Description |
|---|---|---|
| string | propertyName | The name of the property. |
| object | oldValue | The old value of the property. |
| object | newValue | The new value of the property. |
| bool | needRefresh | Whether it needs to perform a refresh. |