Click or drag to resize

ObservableCollectionWithItemsNotifyPropertyChangedT Class

An ObservableCollection that listens to the PropertyChanged event of its items and raises an ItemPropertyChanged event when an item's property changes.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionT
    System.Collections.ObjectModelObservableCollectionT
      Altaxo.CollectionsObservableCollectionWithItemsNotifyPropertyChangedT

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public class ObservableCollectionWithItemsNotifyPropertyChanged<T> : ObservableCollection<T>
where T : INotifyPropertyChanged

Type Parameters

T

The ObservableCollectionWithItemsNotifyPropertyChangedT type exposes the following members.

Constructors
 NameDescription
Public methodObservableCollectionWithItemsNotifyPropertyChangedTInitializes a new instance of the ObservableCollectionWithItemsNotifyPropertyChangedT class
Top
Properties
 NameDescription
Public propertyCountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionT)
Public propertyItemGets or sets the element at the specified index.
(Inherited from CollectionT)
Protected propertyItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionT)
Top
Methods
 NameDescription
Public methodAddAdds an object to the end of the CollectionT.
(Inherited from CollectionT)
Protected methodBlockReentrancyDisallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionT)
Protected methodCheckReentrancyChecks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionT)
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionT)
Protected methodClearItemsRemoves all items from the collection.
(Overrides ObservableCollectionTClearItems)
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionT)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionT)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionT)
Protected methodInsertItemInserts an item into the collection at the specified index.
(Overrides ObservableCollectionTInsertItem(Int32, T))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMoveMoves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionT)
Protected methodMoveItemMoves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionT)
Protected methodOnCollectionChangedRaises the CollectionChanged event with the provided arguments.
(Inherited from ObservableCollectionT)
Protected methodOnPropertyChangedRaises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionT)
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionT)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionT)
Protected methodRemoveItemRemoves the item at the specified index of the collection.
(Overrides ObservableCollectionTRemoveItem(Int32))
Protected methodSetItemReplaces the element at the specified index.
(Overrides ObservableCollectionTSetItem(Int32, T))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventCollectionChangedOccurs when an item is added, removed, or moved, or the entire list is refreshed.
(Inherited from ObservableCollectionT)
Public eventItemPropertyChanged Occurs when a property of an item in the collection changes.
Protected eventPropertyChangedOccurs when a property value changes.
(Inherited from ObservableCollectionT)
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeT Adds a range of items to an ObservableCollection.
(Defined by ListExtensions)
Public Extension MethodFillWithT Clears and fills an ObservableCollection with the specified items.
(Defined by ListExtensions)
Top
See Also