Progress® Telerik® Reporting R2 2017

ObservableCollectionExtFindT Method

Namespace:  Telerik.ReportViewer.Common
Assemblies:   Telerik.ReportViewer.WebForms (in Telerik.ReportViewer.WebForms.dll)
  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll)
  Telerik.ReportViewer.Wpf (in Telerik.ReportViewer.Wpf.dll)

Syntax

public static T Find<T>(
	this ObservableCollection<T> collection,
	Func<T, bool> predicate
)

Parameters

collection
Type: System.Collections.ObjectModelObservableCollectionT
predicate
Type: SystemFuncT, Boolean

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ObservableCollectionT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also