Class ObservableCollectionExtensions
Extensions for observalbe collections
Inheritance
ObservableCollectionExtensions
Assembly: Algenta.Colectica.Model.dll
Syntax
public static class ObservableCollectionExtensions
Methods
FindIndex<T>(ObservableCollection<T>, int, int, Predicate<T>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the Collection that starts at the specified index and contains the specified number of elements.
Declaration
public static int FindIndex<T>(this ObservableCollection<T> ts, int startIndex, int count, Predicate<T> match)
Parameters
Returns
Type Parameters
FindIndex<T>(ObservableCollection<T>, int, Predicate<T>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the Collection that extends from the specified index to the last element.
Declaration
public static int FindIndex<T>(this ObservableCollection<T> ts, int startIndex, Predicate<T> match)
Parameters
Returns
Type Parameters
FindIndex<T>(ObservableCollection<T>, Predicate<T>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire collection
Declaration
public static int FindIndex<T>(this ObservableCollection<T> ts, Predicate<T> match)
Parameters
Returns
Type Parameters