Name | Description | |
---|---|---|
DataView Constructor | Overloaded. |
The following tables list the members exposed by DataView.
Name | Description | |
---|---|---|
DataView Constructor | Overloaded. |
Name | Description | |
---|---|---|
CanAddNew | Gets a value that indicates whether a new item 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. | |
CanChangePage | Gets a value that indicates whether the System.Windows.Data.PagedCollectionView.PageIndex value can change. | |
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 quantity of rows in this view. | |
Culture | Gets or sets the cultural information for any operations of the view that might differ by culture, such as sorting. | |
CurrentAddItem | Gets the item that is being added when an System.Windows.Data.PagedCollectionView.AddNew() transaction is in progress. | |
CurrentEditItem | Gets the item in the collection that is being edited when an System.Windows.Data.PagedCollectionView.EditItem(System.Object) transaction is in progress. | |
CurrentItem | Gets the current item in the view. | |
CurrentPosition | Gets the ordinal position of the System.Windows.Data.PagedCollectionView.CurrentItem in the view, which might be sorted and filtered. | |
Filter | Gets or sets a callback that is used to determine whether an item is suited 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, constructed according to the descriptions specified in the System.Windows.Data.PagedCollectionView.GroupDescriptions property. | |
IsAddingNew | Gets a value that indicates whether an System.Windows.Data.PagedCollectionView.AddNew() transaction is in progress. | |
IsCurrentAfterLast | Gets a value that indicates whether the System.Windows.Data.PagedCollectionView.CurrentItem of the view is beyond the end of the collection. | |
IsCurrentBeforeFirst | Gets a value that indicates whether the System.Windows.Data.PagedCollectionView.CurrentItem of the view is before the start of the collection. | |
IsEditingItem | Gets a value that indicates whether an System.Windows.Data.PagedCollectionView.EditItem(System.Object) transaction is in progress. | |
IsEmpty | Gets a value that indicates whether the view is empty. | |
IsPageChanging | Gets a value that indicates whether the page index is changing. | |
Item | Gets the DataRowView item at a given index. | |
ItemCount | Gets the minimum number of items known to be in the source collection that satisfy the current filter. | |
NewItemPlaceholderPosition | Gets or sets a value that indicates whether to include a new item placeholder in the collection view, and where to include it. | |
PageIndex | Gets the zero-based index of the current page. | |
PageSize | Gets or sets the number of items to display on a page. | |
RowFilter | Gets or sets a string that specifies which rows should be included in this DataView. | |
Sort | Gets or sets a string that specifies the columns used to sort this DataView. | |
SortDescriptions | Gets a collection of System.ComponentModel.SortDescription objects that describe how the items in the collection are sorted in the view. | |
SourceCollection | Gets the System.Collections.IEnumerable collection underlying this view. | |
Table | Gets or sets the DataTable that provides data for this DataView. | |
TotalItemCount | Gets the total number of items in the view before paging is applied. |
Name | Description | |
---|---|---|
AddNew | Adds a new item to the underlying collection. | |
CancelEdit | Ends the edit transaction and, if it is possible, restores the original value of the item. | |
CancelNew | Ends the add transaction and discards the pending new item. | |
CommitEdit | Ends the edit transaction and saves the pending changes. | |
CommitNew | Ends the add transaction and saves the pending new item. | |
Contains | Returns a value that indicates whether the specified item belongs to this view. | |
DeferRefresh | Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh. | |
EditItem | Begins an edit transaction on the specified item. | |
GetEnumerator | Returns an System.Collections.IEnumerator object that you can use to enumerate the items in the view. | |
MoveCurrentTo | Sets the specified item to be the System.Windows.Data.PagedCollectionView.CurrentItem in the view. | |
MoveCurrentToFirst | Sets the first item in the view as the System.Windows.Data.PagedCollectionView.CurrentItem. | |
MoveCurrentToLast | Sets the last item in the view as the System.Windows.Data.PagedCollectionView.CurrentItem. | |
MoveCurrentToNext | Set the item after the System.Windows.Data.PagedCollectionView.CurrentItem in the view as the System.Windows.Data.PagedCollectionView.CurrentItem. | |
MoveCurrentToPosition | Sets the item at the specified index to be the System.Windows.Data.PagedCollectionView.CurrentItem in the view. | |
MoveCurrentToPrevious | Sets the item before the System.Windows.Data.PagedCollectionView.CurrentItem in the view as the System.Windows.Data.PagedCollectionView.CurrentItem. | |
MoveToFirstPage | Sets the first page as the current page. | |
MoveToLastPage | Sets the last page as the current page. | |
MoveToNextPage | Sets the next page as the current page. | |
MoveToPage | Moves to the page at the specified index. | |
MoveToPreviousPage | Sets the previous page as the current page. | |
Refresh | Re-creates the view. | |
Remove | Removes the specified item from the collection. | |
RemoveAt | Removes the item at the specified position from the collection. |
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection has changed. | |
CurrentChanged | Fired after the current item has been changed. | |
CurrentChanging | Fired before changing the current item. Event handler can cancel this event. | |
PageChanged | Occurs after the System.Windows.Data.PagedCollectionView.PageIndex has changed. | |
PageChanging | Occurs when the System.Windows.Data.PagedCollectionView.PageIndex is changing. | |
PropertyChanged | Occurs when a property value changes. |