Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ListCollectionView Members

Represents the collection view for collections that implement IList.

The following tables list the members exposed by the ListCollectionView type.

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

(see also Protected Properties )
  Name Description
Public property CanFilter Overridden. Gets a value that indicates whether this view supports callback-based filtering.
Public property CanGroup Overridden. Gets a value that indicates whether this collection view supports grouping.
Public property CanSort Overridden. Gets a value that indicates whether this collection view supports sorting.
Public property Comparer  Returns an object that you can use to compare items in this view.(inherited from CollectionView)
Public property Count Overridden. Gets the estimated number of records.
Public property Culture  Gets or sets the culture to use during sorting.(inherited from CollectionView)
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 callback used to determine if an item is suitable for inclusion in the view.(inherited from CollectionView)
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 Overridden. Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
Public property Groups Overridden. Gets the top-level groups.
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 beyond the beginning of the collection.(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.
Public property IsEmpty Overridden. Returns a value that indicates whether the resulting (filtered) view is empty.
Public property NeedsRefresh  Gets a value that indicates whether this view needs to be refreshed.(inherited from CollectionView)
Public property SortDescriptions Overridden. Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.
Public property SourceCollection  Returns the underlying un-filtered collection.(inherited from CollectionView)
Top

  Name Description
Protected property ActiveComparer Gets and sets the current active comparer that is used in sorting.
Protected property ActiveFilter Gets or set the current active Filter callback.
Protected property InternalCount Gets the number of records in the InternalList.
Protected property InternalList Gets the complete and unfiltered underlying collection.
Protected property IsCurrentInSync  Gets a value that indicates whether the CurrentItem is at the CurrentPosition.(inherited from CollectionView)
Protected property IsDynamic  Gets a value that indicates whether the underlying collection provides change notifications.(inherited from CollectionView)
Protected property IsGrouping Gets a value that indicates whether there are groups in the view.
Protected property IsRefreshDeferred  Returns a value that indicates whether there is an outstanding DeferRefresh in use.(inherited from CollectionView)
Protected property UpdatedOutsideDispatcher  Returns true if 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

(see also Protected Methods )
  Name Description
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method Contains Overridden. Returns a value that indicates whether a given item belongs to this collection view.
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 Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetItemAt Overridden. Retrieves the item at the specified zero-based index in this view.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IndexOf Overridden. Returns the index where the given data item belongs in the collection, or -1 if the index of that item is unknown.
Public method MoveCurrentTo  Set 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 Overridden. Sets the item at the specified index to be the CurrentItem in the view.
Public method MoveCurrentToPrevious  Sets the item before the CurrentItem in the view as the CurrentItem. (inherited from CollectionView)
Public method PassesFilter Overridden. Returns a value that indicates whether the specified item in the underlying collection belongs to this view.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Refresh  Recreates the view. (inherited from 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

  Name Description
Protected method ClearChangeLog  Clears any pending changes from the change log. (inherited from CollectionView)
Protected method Compare Compares two objects and returns a value that indicates whether one is less than, equal to, or greater than the other.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetEnumerator Overridden. Returns an object that you can use to enumerate the items in this view.
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)
Protected method OKToChangeCurrent  Returns a value that indicates whether the view can make changes to the currency. (inherited from CollectionView)
Protected method OnBeginChangeLogging Overridden. Called by the base class to notify the derived class that a CollectionChanged has been posted to the message queue.
Protected method OnCollectionChanged  Overloaded. Notifies listeners that the view has changed. (inherited from CollectionView)
Protected method OnCurrentChanged  Raises the CurrentChanged event. (inherited from CollectionView)
Protected method OnCurrentChanging  Overloaded. Raises the CurrentChanging event. (inherited from CollectionView)
Protected method OnPropertyChanged  Raises the PropertyChanged event using the provided arguments. (inherited from CollectionView)
Protected method ProcessCollectionChanged Overridden. Handles CollectionChanged events.
Protected method RefreshOrDefer  Refreshes the view or marks that the view needs to be refreshed when the defer cycle completes. (inherited from CollectionView)
Protected method RefreshOverride Overridden. Recreates the view.
Protected method SetCurrent  Sets the specified item and index as the values of the CurrentItem and the CurrentPosition respectively. (inherited from CollectionView)
Top

(see also Protected Events )
  Name Description
Public event CurrentChanged  Occurs after the CurrentItem has been changed.(inherited from CollectionView)
Public event CurrentChanging  Occurs when the currency is changing.(inherited from CollectionView)
Top

  Name Description
Protected event CollectionChanged  Occurs when the view has changed.(inherited from CollectionView)
Protected event PropertyChanged  Occurs when a property value has changed.(inherited from CollectionView)
Top

  Name Description
Explicit interface implementation Method System.Collections.IComparer.Compare This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft