CollectionView Methods
The CollectionView type exposes the following members.
| Name | Description | |
|---|---|---|
|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
|
ClearChangeLog | Clears any pending changes from the change log. |
|
Contains | Returns a value that indicates whether the specified item belongs to the view. |
|
DeferRefresh | Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an object that you can use to enumerate the items in the view. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetItemAt | Retrieves the item at the specified zero-based index in the view. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf | Returns the index at which the specified item is located. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MoveCurrentTo | 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 | 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. |
|
OKToChangeCurrent | Returns a value that indicates whether the view can change which item is the CurrentItem. |
|
OnBeginChangeLogging | Called by the base class to notify the derived class that an INotifyCollectionChanged.CollectionChanged event has been posted to the message queue. |
|
OnCollectionChanged(NotifyCollectionChangedEventArgs) | Raises the CollectionChanged event. |
|
OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) | Raises the CollectionChanged event. |
|
OnCurrentChanged | Raises the CurrentChanged event. |
|
OnCurrentChanging() | Raises a CurrentChanging event that is not cancelable. |
|
OnCurrentChanging(CurrentChangingEventArgs) | Raises the CurrentChanging event with the specified arguments. |
|
OnPropertyChanged | Raises the PropertyChanged event using the specified arguments. |
|
PassesFilter | Returns a value that indicates whether the specified item in the underlying collection belongs to the view. |
|
ProcessCollectionChanged | When overridden in a derived class, processes a single change on the UI thread. |
|
Refresh | Re-creates the view. |
|
RefreshOrDefer | Refreshes the view or specifies that the view needs to be refreshed when the defer cycle completes. |
|
RefreshOverride | Re-creates the view. |
|
SetCurrent(Object, Int32) | Sets the specified item and index as the values of the CurrentItem and CurrentPosition properties. |
|
SetCurrent(Object, Int32, Int32) | Sets the specified item and index as the values of the CurrentItem and CurrentPosition properties. This method can be called from a constructor of a derived class. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
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.) |
| Name | Description | |
|---|---|---|
|
IEnumerable.GetEnumerator | Returns an IEnumerator object that you can use to enumerate the items in the view. |