ICollectionView Interface
Enables collections to have the functionalities of current record management, custom sorting, filtering, and grouping.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() | CanFilter | Gets a value that indicates whether this view supports filtering via the Filter property. |
![]() | CanGroup | Gets a value that indicates whether this view supports grouping via the GroupDescriptions property. |
![]() | CanSort | Gets a value that indicates whether this view supports sorting via the SortDescriptions property. |
![]() | Culture | Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting. |
![]() | CurrentItem | Gets the current item in the view. |
![]() | CurrentPosition | Gets the ordinal position of the CurrentItem within the view. |
![]() | Filter | Gets or sets a callback used to determine if an item is suitable for inclusion in the view. |
![]() | GroupDescriptions | Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view. |
![]() | Groups | Gets the top-level groups. |
![]() | IsCurrentAfterLast | Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection. |
![]() | IsCurrentBeforeFirst | Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection. |
![]() | IsEmpty | Returns a value that indicates whether the resulting view is empty. |
![]() | SortDescriptions | Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view. |
![]() | SourceCollection | Returns the underlying collection. |
| Name | Description | |
|---|---|---|
![]() | Contains(Object^) | Returns a value that indicates whether a given item belongs to this collection view. |
![]() | DeferRefresh() | Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. |
![]() | GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.) |
![]() | MoveCurrentTo(Object^) | Sets the specified item to be the CurrentItem in the view. |
![]() | MoveCurrentToFirst() | Sets the first item in the view as the CurrentItem. |
![]() | MoveCurrentToLast() | Sets the last item in the view as the CurrentItem. |
![]() | MoveCurrentToNext() | Sets the item after the CurrentItem in the view as the CurrentItem. |
![]() | MoveCurrentToPosition(Int32) | Sets the item at the specified index to be the CurrentItem in the view. |
![]() | MoveCurrentToPrevious() | Sets the item before the CurrentItem in the view as the CurrentItem. |
![]() | Refresh() | Recreates the view. |
| Name | Description | |
|---|---|---|
![]() | CollectionChanged | Occurs when the collection changes.(Inherited from INotifyCollectionChanged.) |
![]() | CurrentChanged | When implementing this interface, raise this event after the current item has been changed. |
![]() | CurrentChanging | When implementing this interface, raise this event before changing the current item. Event handler can cancel this event. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The interface is implemented by the CollectionView class, which is the base class for BindingListCollectionView, ListCollectionView, and ItemCollection.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0


