Name | Description | |
---|---|---|
C1CollectionView Constructor | Creates a new instance of C1CollectionView component. |
The following tables list the members exposed by C1CollectionView.
Name | Description | |
---|---|---|
C1CollectionView Constructor | 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 System.ComponentModel.ICollectionView.Filter property. | |
CanGroup | Gets a value that indicates whether this view supports grouping via the System.ComponentModel.ICollectionView.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 System.ComponentModel.ICollectionView.SortDescriptions property. | |
Count | Gets the number of elements contained in the System.Collections.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 System.ComponentModel.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 | ||
Item | 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 System.ComponentModel.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 | ||
AddNew | Adds a new item to the collection. | |
AddNewItem | 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 | Determines whether this collection contains the specified item. | |
CopyTo | ||
DeferRefresh | Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. | |
EditItem | Begins an edit transaction of the specified item. | |
Insert | ||
MoveCurrentTo | 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 | 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. | |
Refresh | Recreates the view. | |
Remove | Removes the specified item from the collection. | |
RemoveAt | Removes the item at the specified position from the collection. |
Name | Description | |
---|---|---|
OnCollectionChanged | Raises the CollectionChanged event. | |
OnCurrentChanged | Raises the CurrentChanged event. | |
OnCurrentChanging | Raises the CurrentChanging event. |
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. |