Listens to any property changes
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function Listen(Of TModel As System.ComponentModel.INotifyPropertyChanged)( _
ByVal model As TModel, _
ByVal action As System.Action(Of String) _
) As System.IDisposable |
C# | |
---|
public static System.IDisposable Listen<TModel>(
TModel model,
System.Action<string> action
)
where TModel: System.ComponentModel.INotifyPropertyChanged |
Parameters
- model
- action
Type Parameters
- TModel
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also