Class AlsoNotifyChangeForAttribute
An attribute that can be used to support notifying multiple properties when a property changes.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: Unity.AppUI.MVVM.dll
Syntax
[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = true)]
public sealed class AlsoNotifyChangeForAttribute : Attribute
Remarks
This attribute can only be used in conjunction with the Observable
Constructors
AlsoNotifyChangeForAttribute(string)
Initializes a new instance of the Also
Declaration
public AlsoNotifyChangeForAttribute(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
string | propertyName | The name of the property to also notify when the annotated property changes. |
AlsoNotifyChangeForAttribute(string, params string[])
Initializes a new instance of the Also
Declaration
public AlsoNotifyChangeForAttribute(string propertyName, params string[] propertyNames)