Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ItemCollection Methods

The ItemCollection type exposes the following members.

  Name Description
Public method Add Adds an item to the ItemCollection.
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method Clear Clears the collection and releases the references on all items currently in the collection.
Public method Contains Returns a value that indicates whether the specified item is in this view. (Overrides CollectionView.Contains(Object).)
Public method CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Public method DeferRefresh Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. (Overrides CollectionView.DeferRefresh().)
Public method DetachFromSourceCollection Removes the reference to the underlying collection from the CollectionView. (Inherited from CollectionView.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetItemAt Returns the item at the specified zero-based index in this view. (Overrides CollectionView.GetItemAt(Int32).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index in this collection where the specified item is located. (Overrides CollectionView.IndexOf(Object).)
Public method Insert Inserts an element into the collection at the specified index.
Public method MoveCurrentTo Sets the specified item in the collection as the CurrentItem. (Overrides CollectionView.MoveCurrentTo(Object).)
Public method MoveCurrentToFirst Sets the first item in the view as the CurrentItem. (Overrides CollectionView.MoveCurrentToFirst().)
Public method MoveCurrentToLast Sets the last item in the view as the CurrentItem. (Overrides CollectionView.MoveCurrentToLast().)
Public method MoveCurrentToNext Sets the item after the CurrentItem in the view as the CurrentItem. (Overrides CollectionView.MoveCurrentToNext().)
Public method MoveCurrentToPosition Sets the item at the specified index to be the CurrentItem in the view. (Overrides CollectionView.MoveCurrentToPosition(Int32).)
Public method MoveCurrentToPrevious Sets the item before the CurrentItem in the view as the CurrentItem. (Overrides CollectionView.MoveCurrentToPrevious().)
Public method PassesFilter Returns a value that indicates whether the specified item belongs to this view. (Overrides CollectionView.PassesFilter(Object).)
Public method Refresh Re-creates the view. (Inherited from CollectionView.)
Public method Remove Removes the specified item reference from the collection or view.
Public method RemoveAt Removes the item at the specified index of the collection or view.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top
  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
  Name Description
Explicit interface implemetation Private method IEditableCollectionView.AddNew Adds a new item to the collection.
Explicit interface implemetation Private method IEditableCollectionView.CancelEdit Ends the edit transaction and, if possible, restores the original value to the item.
Explicit interface implemetation Private method IEditableCollectionView.CancelNew Ends the add transaction and discards the pending new item.
Explicit interface implemetation Private method IEditableCollectionView.CommitEdit Ends the edit transaction and saves the pending changes.
Explicit interface implemetation Private method IEditableCollectionView.CommitNew Ends the add transaction and saves the pending new item.
Explicit interface implemetation Private method IEditableCollectionView.EditItem Begins an edit transaction of the specified item.
Explicit interface implemetation Private method IEditableCollectionView.Remove Removes the specified item from the collection.
Explicit interface implemetation Private method IEditableCollectionView.RemoveAt Removes the item at the specified position from the collection.
Explicit interface implemetation Private method IEditableCollectionViewAddNewItem.AddNewItem Adds the specified object to the collection.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an IEnumerator object that you can use to enumerate the items in the view. (Inherited from CollectionView.)
Explicit interface implemetation Private method IWeakEventListener.ReceiveWeakEvent Receives events from the centralized event manager.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.