Version

KeyedObservableCollection<TItem,TKey> Class Members

The following tables list the members exposed by KeyedObservableCollection<TItem,TKey>.

Public Constructors
Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public PropertyItemReturns the item with the specified key.  
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodContainsKeyIndicates if an item with the specified key exists within the collection.  
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodIndexOfKeyReturns the index of the item with the specified key or null if none exists.  
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodMove (Inherited from System.Collections.ObjectModel.ObservableCollection<TItem>)
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodTryGetItemGets the item with the specified key  
Protected Methods
 NameDescription
Protected MethodBlockReentrancy (Inherited from System.Collections.ObjectModel.ObservableCollection<TItem>)
Protected MethodCheckReentrancy (Inherited from System.Collections.ObjectModel.ObservableCollection<TItem>)
Protected MethodClearItemsOverridden. Removes all the items from the collection.  
Protected MethodInsertItemOverridden. Inserts a new item at the specified index in the collection.  
Protected MethodMoveItem (Inherited from System.Collections.ObjectModel.ObservableCollection<TItem>)
Protected MethodOnCollectionChangedOverridden. Raises the CollectionChanged event.  
Protected MethodOnPropertyChangedOverridden. Raises the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.  
Protected MethodRemoveItemOverridden. Removes an item at the specified index.  
Protected MethodSetItemOverridden. Replaces an item at the specified index in the collection  
Public Events
Protected Events
See Also