Modifica

Condividi tramite


PropertyChangedMessage<T>(Object, String, T, T) Constructor

Definition

Initializes a new instance of the PropertyChangedMessage<T> class.

public PropertyChangedMessage (object sender, string? propertyName, T oldValue, T newValue);
new CommunityToolkit.Mvvm.Messaging.Messages.PropertyChangedMessage<'T> : obj * string * 'T * 'T -> CommunityToolkit.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.

Applies to