[]
The collection view implementation used by a ClientViewSource and other Studio for Entity Framework data sources.
public class ClientCollectionView : ICollectionView, INotifyCollectionChanged, IEditableCollectionView, INotifyPropertyChanged, IItemProperties, IListSource, IBindingListView, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, ITypedList
| 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. |
| this[int] | Gets the element at the specified |
| 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(object) | Adds a new |
| AsLive<T>() | Converts this ClientCollectionView to a live view. |
| Contains(object) | Returns a value that indicates whether a given item belongs to this collection view. |
| IndexOf(object) | Determines the index of a specific |
| 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(int) | 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(int) | Sets the first page as the current page. |
| MoveToPreviousPage() | Moves to the page before the current page. |
| Remove(object) | Removes the specified item from the collection. |
| RemoveAt(int) | 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. |