This documentation is archived and is not being maintained.

CompositeCollection Members

Enables multiple collections and items to be displayed as a single list.

The CompositeCollection type exposes the following members.

  NameDescription
Public method CompositeCollection Overloaded. Creates a new instance of the CompositeCollection class.
Top

  NameDescription
Public method Add Adds the specified item to this collection.
Public method Clear Clears the collection.
Public method Contains Checks to see if a given item is in this collection.
Public method CopyTo Makes a shallow copy of object references from this collection to the given array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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 Returns the index in this collection where the given item is found.
Public method Insert Inserts an item in the collection at a given index. All items after the given position are moved down by one.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ReceiveWeakEvent Handles events from the centralized event table.
Public method Remove Removes the given item reference from the collection. All remaining items move up by one.
Public method RemoveAt Removes an item from the collection at the given index. All remaining items move up by one.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of items stored in this collection.
Public property Item Indexer property that retrieves or replaces the item at the given zero-based offset in the collection.
Top

  NameDescription
Protected event CollectionChanged Occurs when the collection changes, either by adding or removing an item.
Top

  NameDescription
Explicit interface implemetation Private event INotifyCollectionChanged.CollectionChanged Occurs when the collection has changed.
Explicit interface implemetation Private method ICollectionViewFactory.CreateView This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator.
Explicit interface implemetation Private property IList.IsFixedSize This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private property IList.IsReadOnly This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private property ICollection.IsSynchronized This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IWeakEventListener.ReceiveWeakEvent This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private property ICollection.SyncRoot This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top
Show: