PropertyChangedMessage<T>(Object, String, T, T) Constructor
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.
Initializes a new instance of the PropertyChangedMessage<T> class.
public PropertyChangedMessage (object sender, string? propertyName, T oldValue, T newValue);
new Microsoft.Toolkit.Mvvm.Messaging.Messages.PropertyChangedMessage<'T> : obj * string * 'T * 'T -> Microsoft.Toolkit.Mvvm.Messaging.Messages.PropertyChangedMessage<'T>
Public Sub New (sender As Object, propertyName As String, oldValue As T, newValue As T)
Parameters
- sender
- Object
The original sender of the broadcast message.
- propertyName
- String
The name of the property that changed.
- oldValue
- T
The value that the property had before the change.
- newValue
- T
The value that the property has after the change.