Click or drag to resize

ObservableCollectionT Class

Represent a collection of items that fire events when it is modified.
Inheritance Hierarchy
SystemObject
  DXFReaderNET.CollectionsObservableCollectionT

Namespace:  DXFReaderNET.Collections
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class ObservableCollection<T> : IList<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
Type of items.

The ObservableCollectionT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of object contained in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItem
Gets or sets the object at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the collection.
Public methodAddRange
Adds an object list to the end of the collection.
Public methodClear
Removes all object from the collection.
Public methodContains
Determines whether an object is in the collection.
Public methodCopyTo
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert
Inserts an object into the collection at the specified index.
Public methodRemove(IEnumerableT)
Removes the first occurrence of a specific object from the collection
Public methodRemove(T)
Removes the first occurrence of a specific object from the collection
Public methodRemoveAt
Removes the object at the specified index of the collection.
Public methodReverse
Reverses the order of the elements in the entire list.
Public methodSort
Sorts the elements in the entire System.Collections.Generic.List<T> using the default comparer.
Public methodSort(ComparisonT)
Sorts the elements in the entire System.Collections.Generic.List<T> using the specified System.Comparison<T>.
Public methodSort(IComparerT)
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
Public methodSort(Int32, Int32, IComparerT)
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
Top
See Also