C1.Data.DataSource Namespace : ClientCollectionView Class |
The following tables list the members exposed by ClientCollectionView.
Name | Description | |
---|---|---|
![]() | CanAdd | Gets a value indicating whether the Add 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 System.ComponentModel.ICollectionViewFactory that can be used as a source of a System.Windows.Data.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. |
![]() | ItemProperties | Gets a collection that contains information about the properties that are available on the items in this ClientCollectionView. |
![]() | 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. |
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<T> | Converts this ClientCollectionView to a live view. |
![]() | Contains | Returns a value that indicates whether a given item belongs to this collection view. |
![]() | IndexOf | Determines the index of a specific item in the ClientCollectionView. |
![]() | 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 System.ComponentModel.ICollectionView.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. |
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. |