ObservableListT Methods |
The ObservableListT generic type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an item to the ICollectionT. Fires an ItemChanged "add" event.
| |
Clear |
Removes all items from the ICollectionT. Fires ItemChanged "remove"
events for every item in the list.
| |
Contains |
Determines whether the ICollectionT contains a specific value.
| |
CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Determines the index of a specific item in the IListT.
| |
Insert |
Inserts an item to the IListT at the specified index. Fires the
ItemChanged event with an "add".
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnItemChanged |
Raises the [E:ItemChanged] event.
| |
Remove |
Removes the first occurrence of a specific object from the ICollectionT.
Fires the ItemChanged event with a "remove".
| |
RemoveAll |
Removes all the elements in the list for which pred returns true. Note that each element will be visited twice.
list.RemoveAll(shape => shape is PdfPath); // remove all paths from the list | |
RemoveAt |
Removes the IListT item at the specified index. Fires the ItemChanged event with
a "remove".
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |