Modifica

Condividi tramite


AlsoNotifyChangeForAttribute Constructors

Definition

Overloads

AlsoNotifyChangeForAttribute(String)

Initializes a new instance of the AlsoNotifyChangeForAttribute class.

AlsoNotifyChangeForAttribute(String, String[])

Initializes a new instance of the AlsoNotifyChangeForAttribute class.

AlsoNotifyChangeForAttribute(String)

Initializes a new instance of the AlsoNotifyChangeForAttribute class.

public AlsoNotifyChangeForAttribute (string propertyName);
new Microsoft.Toolkit.Mvvm.ComponentModel.AlsoNotifyChangeForAttribute : string -> Microsoft.Toolkit.Mvvm.ComponentModel.AlsoNotifyChangeForAttribute
Public Sub New (propertyName As String)

Parameters

propertyName
String

The name of the property to also notify when the annotated property changes.

Applies to

AlsoNotifyChangeForAttribute(String, String[])

Initializes a new instance of the AlsoNotifyChangeForAttribute class.

public AlsoNotifyChangeForAttribute (string propertyName, params string[] otherPropertyNames);
new Microsoft.Toolkit.Mvvm.ComponentModel.AlsoNotifyChangeForAttribute : string * string[] -> Microsoft.Toolkit.Mvvm.ComponentModel.AlsoNotifyChangeForAttribute
Public Sub New (propertyName As String, ParamArray otherPropertyNames As String())

Parameters

propertyName
String

The name of the property to also notify when the annotated property changes.

otherPropertyNames
String[]

The other property names to also notify when the annotated property changes. This parameter can optionally be used to indicate a series of dependent properties from the same attribute, to keep the code more compact.

Applies to