The ClientCollectionView type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add |
Adds a new entity to the client-side cache and to the associated context.
The entity will appear in this collection view if it matches the underlying query.
|
|
AsLive<(Of <<'(T>)>>) |
Converts this ClientCollectionView to a live view.
|
|
Contains |
Returns a value that indicates whether a given item belongs to this collection view.
|
|
Equals |
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 the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf |
Determines the index of a specific item in the ClientCollectionView.
|
|
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.
|
|
MoveToFirstPage |
Sets the first page as the current page.
|
|
MoveToLastPage |
Sets the last page as the current page.
|
|
MoveToNextPage |
Moves to the page after the current page.
|
|
MoveToPage |
Sets the first page as the current page.
|
|
MoveToPreviousPage |
Moves to the page before the current page.
|
|
Remove |
Removes the specified item from the collection.
|
|
RemoveAt |
Removes the item at the specified position from the collection.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CanAdd |
Gets a value indicating whether the Add(Object) method is supported.
|
|
CanChangePage |
Gets a value that indicates whether the PageIndex value can change.
|
|
CanRemove |
Gets a value that indicates whether an item can be removed from the collection.
|
|
CollectionViewFactory |
Gets an instance of ICollectionViewFactory that can be used as a
source of a CollectionViewSource.
|
|
Count |
Gets the number of elements contained in the ClientCollectionView.
|
|
CurrentItem |
Gets the current item in the view.
|
|
CurrentPosition |
Gets the ordinal position of the CurrentItem within the collection view.
|
|
IsEmpty |
Returns a value that indicates whether the resulting view is empty.
|
|
IsPageChanging |
Gets a value that indicates whether the page index is changing.
|
|
Item |
Gets the element at the specified index.
|
|
PageCount |
Gets the count of the pages in this view.
|
|
PageIndex |
Gets the zero-based index of the current page.
|
|
PageSize |
Gets or sets the number of items to display on a page.
|
|
TotalItemCount |
Gets the total number of items in the view before paging is applied.
|
Events
Name | Description | |
---|---|---|
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.
|
|
PageChanged |
Occurs after the PageIndex has changed.
|
|
PageChanging |
Occurs before changing the PageIndex.
|
|
PropertyChanged |
Occurs when a property value changes.
|