ListCollectionView Methods

The ListCollectionView type exposes the following members.

  NameDescription
Public method AddNew Starts an add transaction and returns the pending new item.
Public method CancelEdit Ends the edit transaction and, if possible, restores the original value to the item.
Public method CancelNew Ends the add transaction and discards the pending new item.
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Protected method ClearChangeLog Clears any pending changes from the change log. (Inherited from CollectionView.)
Public method CommitEdit Ends the edit transaction and saves the pending changes.
Public method CommitNew Ends the add transaction and saves the pending new item.
Protected method Compare Compares two objects and returns a value that indicates whether one is less than, equal to, or greater than the other.
Public method Contains Returns a value that indicates whether a given item belongs to the collection view. (Overrides CollectionView.Contains(Object).)
Public method DeferRefresh Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. (Inherited from CollectionView.)
Public method EditItem Begins an edit transaction of the specified item.
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.)
Protected method GetEnumerator Returns an object that you can use to enumerate the items in the view. (Overrides CollectionView.GetEnumerator().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetItemAt Retrieves the item at the specified position in the view. (Overrides CollectionView.GetItemAt(Int32).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index where the given data item belongs in the collection, or -1 if the index of that item is unknown. (Overrides CollectionView.IndexOf(Object).)
Protected method InternalContains Return a value that indicates whether the InternalList contains the item.
Protected method InternalGetEnumerator Returns an enumerator for the InternalList.
Protected method InternalIndexOf Returns the index of the specified item in the InternalList.
Protected method InternalItemAt Returns the item at the given index in the InternalList.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveCurrentTo Sets the specified item to be the CurrentItem in the view. (Inherited from CollectionView.)
Public method MoveCurrentToFirst Sets the first item in the view as the CurrentItem. (Inherited from CollectionView.)
Public method MoveCurrentToLast Sets the last item in the view as the CurrentItem. (Inherited from CollectionView.)
Public method MoveCurrentToNext Sets the item after the CurrentItem in the view as the CurrentItem. (Inherited from CollectionView.)
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. (Inherited from CollectionView.)
Protected method OKToChangeCurrent Returns a value that indicates whether the view can change which item is the CurrentItem. (Inherited from CollectionView.)
Protected method OnBeginChangeLogging Called by the base class to notify the derived class that a CollectionChanged event has been posted to the message queue. (Overrides CollectionView.OnBeginChangeLogging(NotifyCollectionChangedEventArgs).)
Protected method OnCollectionChanged Overloaded. Raises the CollectionChanged event.
Protected method OnCurrentChanged Raises the CurrentChanged event. (Inherited from CollectionView.)
Protected method OnCurrentChanging Overloaded. Raises the CurrentChanging event.
Protected method OnPropertyChanged Raises the PropertyChanged event using the specified arguments. (Inherited from CollectionView.)
Public method PassesFilter Returns a value that indicates whether the specified item in the underlying collection belongs to the view. (Overrides CollectionView.PassesFilter(Object).)
Protected method ProcessCollectionChanged Handles CollectionChanged events. (Overrides CollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs).)
Public method Refresh Re-creates the view. (Inherited from CollectionView.)
Protected method RefreshOrDefer Refreshes the view or specifies that the view needs to be refreshed when the defer cycle completes. (Inherited from CollectionView.)
Protected method RefreshOverride Recreates the view. (Overrides CollectionView.RefreshOverride().)
Public method Remove Removes the specified item from the collection.
Public method RemoveAt Removes the item at the specified position from the collection.
Protected method SetCurrent Overloaded. Sets the current item of the CollectionView.
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

  NameDescription
Explicit interface implemetation Private method IComparer.Compare 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 IEnumerator object that you can use to enumerate the items in the view. (Inherited from CollectionView.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft