Export (0) Print
Expand All

ObservableCollection Members

Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.

The following tables list the members exposed by the ObservableCollection generic type.

  Name Description
Public method ObservableCollection Overloaded. Initializes a new instance of the ObservableCollection class.
Top

(see also Protected Properties )
  Name Description
Public property Count  Gets the number of elements actually contained in the Collection.(inherited from Collection)
Public property Item  Gets or sets the element at the specified index.(inherited from Collection)
Top

  Name Description
Protected property Items  Gets a IList wrapper around the Collection.(inherited from Collection)
Top

(see also Protected Methods )
  Name Description
Public method Add  Adds an object to the end of the Collection. (inherited from Collection)
Public method Clear  Removes all elements from the Collection. (inherited from Collection)
Public method Contains  Determines whether an element is in the Collection. (inherited from Collection)
Public method CopyTo  Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (inherited from Collection)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator  Returns an enumerator that iterates through the Collection. (inherited from Collection)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IndexOf  Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (inherited from Collection)
Public method Insert  Inserts an element into the Collection at the specified index. (inherited from Collection)
Public method Move Moves the item at the specified index to a new location in the collection.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove  Removes the first occurrence of a specific object from the Collection. (inherited from Collection)
Public method RemoveAt  Removes the element at the specified index of the Collection. (inherited from Collection)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method BlockReentrancy Disallows reentrant attempts to change this collection.
Protected method CheckReentrancy Checks for reentrant attempts to change this collection.
Protected method ClearItems Overridden. Removes all items from the collection.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method InsertItem Overridden. Inserts an item into the collection at the specified index.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method MoveItem Moves the item at the specified index to a new location in the collection.
Protected method OnCollectionChanged Raises the CollectionChanged event with the provided arguments.
Protected method OnPropertyChanged Raises the PropertyChanged event with the provided arguments.
Protected method RemoveItem Overridden. Removes the item at the specified index of the collection.
Protected method SetItem Overridden. Replaces the element at the specified index.
Top

(see also Protected Events )
  Name Description
Public event CollectionChanged Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Top

  Name Description
Protected event PropertyChanged Occurs when a property value changes.
Top

Community Additions

ADD
Show:
© 2014 Microsoft