GrapeCity.ActiveReports.Viewer.Win.v9 Assembly > GrapeCity.Viewer.Common.Model Namespace > ActiveModelListenExtensions Class > ListenCollection Method : ListenCollection<TModel,TValue>(TModel,Expression<Func<TModel,TValue>>,Action<NotifyCollectionChangedEventArgs>) Method |
'Declaration Public Overloads Shared Function ListenCollection (Of TModel As {Class, System.ComponentModel.INotifyPropertyChanged}, TValue As {Class, INotifyCollectionChanged})( _ ByVal model As TModel, _ ByVal getter1 As System.Linq.Expressions.Expression(Of Func(Of TModel,TValue)), _ ByVal action As System.Action(Of NotifyCollectionChangedEventArgs) _ ) As System.IDisposable
public static System.IDisposable ListenCollection<TModel,TValue>( TModel model, System.Linq.Expressions.Expression<Func<TModel,TValue>> getter1, System.Action<NotifyCollectionChangedEventArgs> action ) where TModel: class, System.ComponentModel.INotifyPropertyChanged where TValue: class, INotifyCollectionChanged
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