|  | EventedListT Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: System.Collections.Generic
 Syntax
Syntax[SerializableAttribute] public class EventedList<T> : IEnumerable, IList, ICollection
The EventedListT type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | EventedListT | Initializes a new instance of the EventedListT class that is empty and has the default initial capacity. | 
|  | EventedListT(IEnumerableT) | 
            Initializes a new instance of the EventedListT class that contains elements copied from the specified collection
            and has sufficient capacity to accommodate the number of elements copied.
             | 
|  | EventedListT(Int32) | Initializes a new instance of the EventedListT class that is empty and has the default initial capacity. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Capacity | Gets or sets the total number of elements the internal data structure can hold without resizing. | 
|  | Count | Gets the number of elements contained in the EventedListT. | 
|  | Item | Gets or sets the element at the specified index. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Add | Adds an item to the EventedListT. | 
|  | AddRange | Adds the range. | 
|  | AsReadOnly | Returns a read-only EventedListT wrapper for the current collection. | 
|  | BinarySearch(T) | 
            Searches the entire sorted EventedListT for an element using the default comparer and returns the zero-based
            index of the element.
             | 
|  | BinarySearch(T, IComparerT) | 
            Searches the entire sorted EventedListT for an element using the specified comparer and returns the zero-based
            index of the element.
             | 
|  | BinarySearch(Int32, Int32, T, IComparerT) | 
            Searches a range of elements in the sorted EventedListT for an element using the specified comparer and returns
            the zero-based index of the element.
             | 
|  | Clear | Removes all items from the EventedListT. | 
|  | Contains | Determines whether the EventedListT contains a specific value. | 
|  | ConvertAllTOutput | 
            Converts the elements in the current EventedListT to another type, and returns a list containing the converted elements.
             | 
|  | CopyTo(T) | 
            Copies the entire EventedListT to a compatible one-dimensional array, starting at the beginning of the target array.
             | 
|  | CopyTo(T, Int32) | |
|  | CopyTo(Int32, T, Int32, Int32) | |
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Exists | 
            Determines whether the EventedListT contains elements that match the conditions defined by the specified predicate.
             | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | Find | 
            Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within
            the entire EventedListT.
             | 
|  | FindAll | Retrieves all the elements that match the conditions defined by the specified predicate. | 
|  | FindIndex(PredicateT) | 
            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 EventedListT.
             | 
|  | FindIndex(Int32, PredicateT) | 
            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 EventedListT that extends from the specified index to the
            last element.
             | 
|  | FindIndex(Int32, Int32, PredicateT) | 
            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 EventedListT that starts at the specified index and contains
            the specified number of elements.
             | 
|  | FindLast | 
            Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within
            the entire EventedListT.
             | 
|  | FindLastIndex(PredicateT) | 
            Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the
            last occurrence within the entire EventedListT.
             | 
|  | FindLastIndex(Int32, PredicateT) | 
            Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the
            last occurrence within the range of elements in the EventedListT that extends from the specified index to the
            last element.
             | 
|  | FindLastIndex(Int32, Int32, PredicateT) | 
            Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the
            last occurrence within the range of elements in the EventedListT that starts at the specified index and contains
            the specified number of elements.
             | 
|  | ForEach | Performs the specified action on each element of the EventedListT. | 
|  | GetEnumerator | Returns an enumerator that iterates through the EventedListT. | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetRange | Creates a shallow copy of a range of elements in the source EventedListT. | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | IndexOf(T) | 
            Searches for the specified object and returns the zero-based index of the first occurrence within the entire EventedListT.
             | 
|  | IndexOf(T, Int32) | 
            Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the
            EventedListT that starts at the specified index.
             | 
|  | IndexOf(T, Int32, Int32) | 
            Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the
            EventedListT that starts at the specified index and contains the specified number of elements.
             | 
|  | Insert | Inserts an item to the EventedListT at the specified index. | 
|  | InsertRange | Inserts the elements of a collection into the EventedListT at the specified index. | 
|  | LastIndexOf(T) | 
            Searches for the specified object and returns the zero-based index of the last occurrence within the entire EventedListT.
             | 
|  | LastIndexOf(T, Int32) | 
            Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the
            EventedListT that starts at the specified index.
             | 
|  | LastIndexOf(T, Int32, Int32) | 
            Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the
            EventedListT that starts at the specified index and contains the specified number of elements.
             | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | OnItemAdded | Raises the ItemAdded event. | 
|  | OnItemChanged | Raises the ItemChanged event. | 
|  | OnItemDeleted | Raises the ItemDeleted event. | 
|  | OnReset | Raises the Reset event. | 
|  | Remove | Removes the first occurrence of a specific object from the EventedListT. | 
|  | RemoveAll | Removes all the elements that match the conditions defined by the specified predicate. | 
|  | RemoveAt | Removes the EventedListT item at the specified index. | 
|  | RemoveRange | Removes a range of elements from the EventedListT. | 
|  | Reverse | Reverses the order of the elements in the entire EventedListT. | 
|  | Reverse(Int32, Int32) | Reverses the order of the elements in the specified range. | 
|  | Sort | Sorts the elements in the entire EventedListT using the default comparer. | 
|  | Sort(IComparerT) | Sorts the elements in the entire EventedListT using the specified comparer. | 
|  | Sort(Int32, Int32, IComparerT) | Sorts the elements in a range of elements in EventedListT using the specified comparer. | 
|  | ToArray | Copies the elements of the EventedListT to a new array. | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | TrimExcess | 
            Sets the capacity to the actual number of elements in the EventedListT, if that number is less than a threshold value.
             | 
|  | TrueForAll | 
            Determines whether every element in the EventedListT matches the conditions defined by the specified predicate.
             | 
 Events
Events| Name | Description | |
|---|---|---|
|  | ItemAdded | Occurs when an item has been added. | 
|  | ItemChanged | Occurs when an item has changed. | 
|  | ItemDeleted | Occurs when an item has been deleted. | 
|  | Reset | Occurs when the list has been reset. | 
 See Also
See Also