ObservableCollectionT Class |
Namespace: netDxf.Collections
public class ObservableCollection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The ObservableCollectionT type exposes the following members.
| Name | Description | |
|---|---|---|
| ObservableCollectionT |
Initializes a new instance of ObservableCollection.
| |
| ObservableCollectionT(Int32) |
Initializes a new instance of ObservableCollection and has the specified initial capacity.
|
| Name | Description | |
|---|---|---|
| Count |
Gets the number of object contained in the collection.
| |
| IsReadOnly |
Gets a value indicating whether the collection is read-only.
| |
| Item |
Gets or sets the object at the specified index.
|
| Name | Description | |
|---|---|---|
| Add |
Adds an object to the collection.
| |
| AddRange |
Adds an object list to the end of the collection.
| |
| Clear |
Removes all object from the collection.
| |
| Contains |
Determines whether an object is in the collection.
| |
| CopyTo |
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
| |
| 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 |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
| |
| Insert |
Inserts an object into the collection at the specified index.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnAddItemEvent | ||
| OnBeforeAddItemEvent | ||
| OnBeforeRemoveItemEvent | ||
| OnRemoveItemEvent | ||
| Remove(IEnumerableT) |
Removes the first occurrence of a specific object from the collection
| |
| Remove(T) |
Removes the first occurrence of a specific object from the collection
| |
| RemoveAt |
Removes the object at the specified index of the collection.
| |
| Reverse |
Reverses the order of the elements in the entire list.
| |
| Sort |
Sorts the elements in the entire System.Collections.Generic.List<T> using the default comparer.
| |
| Sort(IComparerT) |
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
| |
| Sort(ComparisonT) |
Sorts the elements in the entire System.Collections.Generic.List<T> using the specified System.Comparison<T>.
| |
| Sort(Int32, Int32, IComparerT) |
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AddItem | ||
| BeforeAddItem | ||
| BeforeRemoveItem | ||
| RemoveItem |