ICollectionView Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ICollectionView type exposes the following members.
| Name | Description | |
|---|---|---|
|
Contains | Indicates whether the specified 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 | Sets the specified item in the view as the CurrentItem. |
|
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 | Sets the item at the specified index to be the CurrentItem in the view. |
|
MoveCurrentToPrevious | Sets the item before the CurrentItem in the view to the CurrentItem. |
|
Refresh | Recreates the view. |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Converts 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.) |
Show: