[]
Collection which implements native WPF ICollectionView interface.
public class C1CollectionView : ICollectionView, INotifyCollectionChanged, IItemProperties, IEditableCollectionViewAddNewItem, IEditableCollectionView, IList, ICollection, IEnumerable
| Name | Description |
|---|---|
| C1CollectionView(IDataCollection<object>) | Creates a new instance of C1CollectionView component. |
| Name | Description |
|---|---|
| CanAddNew | Gets a value that indicates whether a new item can be added to the collection. |
| CanAddNewItem | Gets a value that indicates whether a specified object can be added to the collection. |
| CanCancelEdit | Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object. |
| CanFilter | Gets a value that indicates whether this view supports filtering via the Filter property. |
| CanGroup | Gets a value that indicates whether this view supports grouping via the GroupDescriptions property. |
| CanRemove | Gets a value that indicates whether an item can be removed from the collection. |
| CanSort | Gets a value that indicates whether this view supports sorting via the SortDescriptions property. |
| Count | Gets the number of elements contained in the ICollection. |
| Culture | Gets or sets the cultural info for any operations of the view that may differ by culture, such as sorting. |
| CurrentAddItem | Gets the item that is being added during the current add transaction. |
| CurrentEditItem | Gets the item in the collection that is being edited. |
| CurrentItem | Gets the current item in the view. |
| CurrentPosition | Gets the ordinal position of the CurrentItem within the view. |
| DataCollection | Gets the data collection. |
| Filter | Gets or sets a callback used to determine if an item is suitable for inclusion in the view. |
| GroupDescriptions | Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view. |
| Groups | Gets the top-level groups. |
| IsAddingNew | Gets a value that indicates whether an add transaction is in progress. |
| 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. |
| IsEditingItem | Gets a value that indicates whether an edit transaction is in progress. |
| IsEmpty | Returns a value that indicates whether the resulting view is empty. |
| IsFixedSize | |
| IsReadOnly | |
| IsSynchronized | |
| this[int] | Gets or sets the item at the specified index. |
| ItemProperties | Gets a collection that contains information about the properties that are available on the items in a collection. |
| NewItemPlaceholderPosition | Gets or sets where the new-item placeholder is placed. |
| SortDescriptions | Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view. |
| SourceCollection | Returns the underlying collection. |
| SyncRoot | |
| UseNullSentinel | Gets a value indicating whether a sentinel item will be returned for those items that are null. |
| Name | Description |
|---|---|
| Add(object?) | |
| AddNew() | Adds a new item to the collection. |
| AddNewItem(object?) | Adds the specified object to the collection. |
| CancelEdit() | Ends the edit transaction and, if possible, restores the original value to the item. |
| CancelNew() | Ends the add transaction and discards the pending new item. |
| Clear() | |
| CommitEdit() | Ends the edit transaction and saves the pending changes. |
| CommitNew() | Ends the add transaction and saves the pending new item. |
| Contains(object?) | Determines whether this collection contains the specified |
| CopyTo(Array, int) | |
| DeferRefresh() | Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. |
| EditItem(object) | Begins an edit transaction of the specified item. |
| GetEnumerator() | Returns an enumerator that iterates through a collection. |
| IndexOf(object?) | |
| Insert(int, object?) | |
| MoveCurrentTo(object) | Sets the specified item to be the ICollectionView.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. |
| OnCollectionChanged(NotifyCollectionChangedEventArgs) | Raises the CollectionChanged event. |
| OnCurrentChanged(EventArgs) | Raises the CurrentChanged event. |
| OnCurrentChanging(CurrentChangingEventArgs) | Raises the CurrentChanging event. |
| Refresh() | Recreates the view. |
| Remove(object?) | Removes the specified item from the collection. |
| RemoveAt(int) | Removes the item at the specified position from the collection. |
| Name | Description |
|---|---|
| CollectionChanged | Occurs after the view item set has changed, due to applied transformations or changes happened in the underlying collection. |
| 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. |