ListCollectionView Members

Represents the collection view for collections that implement IList.

The ListCollectionView type exposes the following members.

  NameDescription
Public method ListCollectionView Initializes a new instance of the ListCollectionView class, using a supplied collection that implements IList.
Top

  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
Protected property ActiveComparer Gets or sets the current active comparer that is used in sorting.
Protected property ActiveFilter Gets or sets the current active Filter callback.
Public property CanAddNew Gets a value that indicates whether a new item can be added to the collection.
Public property CanCancelEdit Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object.
Public property CanFilter Gets a value that indicates whether the view supports callback-based filtering. (Overrides CollectionView.CanFilter.)
Public property CanGroup Gets a value that indicates whether the collection view supports grouping. (Overrides CollectionView.CanGroup.)
Public property CanRemove Gets a value that indicates whether an item can be removed from the collection.
Public property CanSort Gets a value that indicates whether the collection view supports sorting. (Overrides CollectionView.CanSort.)
Public property Comparer Returns an object that you can use to compare items in the view. (Inherited from CollectionView.)
Public property Count Gets the estimated number of records. (Overrides CollectionView.Count.)
Public property Culture Gets or sets the culture information to use during sorting. (Inherited from CollectionView.)
Public property CurrentAddItem Gets the item that is being added during the current add transaction.
Public property CurrentEditItem Gets the item in the collection that is being edited.
Public property CurrentItem Gets the current item in the view. (Inherited from CollectionView.)
Public property CurrentPosition Gets the ordinal position of the CurrentItem within the (optionally sorted and filtered) view. (Inherited from CollectionView.)
Public property CustomSort Gets or sets a custom object that implements IComparer to sort items in the view.
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property Filter Gets or sets a method used to determine if an item is suitable for inclusion in the view. (Overrides CollectionView.Filter.)
Public property GroupBySelector Gets or sets a delegate to select the GroupDescription as a function of the parent group and its level.
Public property GroupDescriptions Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view. (Overrides CollectionView.GroupDescriptions.)
Public property Groups Gets the top-level groups. (Overrides CollectionView.Groups.)
Protected property InternalCount Gets the number of records in the InternalList.
Protected property InternalList Gets the complete and unfiltered underlying collection.
Public property IsAddingNew Gets a value that indicates whether an add transaction is in progress.
Public property IsCurrentAfterLast Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection. (Inherited from CollectionView.)
Public property IsCurrentBeforeFirst Gets a value that indicates whether the CurrentItem of the view is before the beginning of the collection. (Inherited from CollectionView.)
Protected property IsCurrentInSync Gets a value that indicates whether the CurrentItem is at the CurrentPosition. (Inherited from CollectionView.)
Public property IsDataInGroupOrder Gets or sets a value that indicates whether the list of items (after applying the sort and filters, if any) is already in the correct order for grouping.
Protected property IsDynamic Gets a value that indicates whether the underlying collection provides change notifications. (Inherited from CollectionView.)
Public property IsEditingItem Gets a value that indicates whether an edit transaction is in progress.
Public property IsEmpty Returns a value that indicates whether the resulting (filtered) view is empty. (Overrides CollectionView.IsEmpty.)
Protected property IsGrouping Gets a value that indicates whether there are groups in the view.
Protected property IsRefreshDeferred Gets a value that indicates whether there is an outstanding DeferRefresh in use. (Inherited from CollectionView.)
Public property ItemProperties Gets a collection of objects that describes the properties of the items in the collection.
Public property NeedsRefresh Gets a value that indicates whether the view needs to be refreshed. (Inherited from CollectionView.)
Public property NewItemPlaceholderPosition Gets or sets the position of the new item placeholder in the ListCollectionView.
Public property SortDescriptions Gets a collection of SortDescription objects that describes how the items in the collection are sorted in the view. (Overrides CollectionView.SortDescriptions.)
Public property SourceCollection Returns the underlying unfiltered collection. (Inherited from CollectionView.)
Protected property UpdatedOutsideDispatcher Gets a value that indicates whether it has been necessary to update the change log because a CollectionChanged notification has been received on a different thread without first entering the user interface (UI) thread dispatcher. (Inherited from CollectionView.)
Protected property UsesLocalArray Gets a value that indicates whether a private copy of the data is needed for sorting and filtering.
Top

  NameDescription
Protected event CollectionChanged Occurs when the view has changed. (Inherited from CollectionView.)
Public event CurrentChanged Occurs after the CurrentItem has changed. (Inherited from CollectionView.)
Public event CurrentChanging Occurs when the CurrentItem is changing. (Inherited from CollectionView.)
Protected event PropertyChanged Occurs when a property value has changed. (Inherited from CollectionView.)
Top

  NameDescription
Explicit interface implemetation Private event INotifyCollectionChanged.CollectionChanged Occurs when the view has changed. (Inherited from CollectionView.)
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.)
Explicit interface implemetation Private event INotifyPropertyChanged.PropertyChanged Occurs when a property value changes. (Inherited from CollectionView.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft