[]
UWP Windows.UI.Xaml.Data.ICollectionView which wraps a C1DataCollection<T>.
public class C1CollectionView : Object, ICollectionView, IObservableVector<object>, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable
This adapter can be used to display the collection in a standard ListView and GridView.
Name | Description |
---|---|
C1CollectionView(IDataCollection<object>) | Creates a new instance of C1CollectionView component. |
Name | Description |
---|---|
CollectionGroups | Returns any collection groups that are associated with the view. |
Count | Gets the number of elements contained in the collection. |
CurrentItem | Gets the current item in the view. |
CurrentPosition | Gets the ordinal position of the CurrentItem within the view. |
DataCollection | Gets the wrapping collection. |
HasMoreItems | Gets whether the collection supports incremental loading. |
IsCurrentAfterLast | Gets a value that indicates whether the CurrentItem of the view is beyond the end of the collection. |
IsCurrentBeforeFirst | Gets a value that indicates whether the CurrentItem of the view is beyond the beginning of the collection. |
IsReadOnly | Gets a value indicating whether the C1CollectionView is read-only. |
Name | Description |
---|---|
Add(object) | Adds an item to the C1CollectionView. |
Clear() | Removes all items from the C1CollectionView. |
Contains(object) | Determines whether the C1CollectionView contains a specific value. |
CopyTo(object[], int) | Copies the elements of the C1CollectionView to an System.Array, starting at a particular object array index. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
IndexOf(object) | Determines the index of a specific item in the collection. |
Insert(int, object) | Inserts an item to the C1CollectionView at the specified index. |
LoadMoreItemsAsync(uint) | Loads more items asynchronously. |
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. |
OnCurrentChanged(EventArgs) | Raises the CurrentChanged event. |
OnCurrentChanging(CurrentChangingEventArgs) | Raises the CurrentChanging event. |
OnVectorChanged(IVectorChangedEventArgs) | Raises the VectorChanged event. |
Remove(object) | Removes the first occurrence of a specific object from the C1CollectionView. |
RemoveAt(int) | Removes the item at the specified index. |
Name | Description |
---|---|
CurrentChanged | When implementing this interface, fire this event after the current item has been changed. |
CurrentChanging | When implementing this interface, fire this event before changing the current item. The event handler can cancel this event. |
VectorChanged | Occurs after the view item set has changed, due to applied transformations or changes happened in the underlying collection. |