Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following table summarizes the members exposed in this class.

Public Constructors

PagedCollectionView Constructor(IEnumerable) Initializes a new instance of the System.Windows.Data.PagedCollectionView class.
PagedCollectionView Constructor(IEnumerable, bool, bool) Initializes a new instance of the System.Windows.Data.PagedCollectionView class and specifies whether the data is sorted and in group order.

Public Properties

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 by way of the System.Windows.Data.PagedCollectionView.Filter property.
CanGroup Gets a value that indicates whether this view supports grouping.
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.
Count Gets the number of records in the view after filtering, sorting, and paging.
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.
FilterDescriptions
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.
this[int] Gets the item at the specified index.
ItemCount Gets the minimum number of items known to be in the source collection that satisfy the current filter.
NeedsRefresh Gets a value that indicates whether this view needs to be refreshed.
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.
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.
TotalItemCount Gets the total number of items in the view before paging is applied.

Public Methods

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(object) Returns a value that indicates whether the specified item belongs to this collection view.
CopyDefinitionsFrom(PagedCollectionView) Copy the paged collection view definition from the given source.
CopyDefinitionsFrom(PagedCollectionView, bool, bool, bool, bool) Copy the paged collection view definition from the given source.
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 on the specified item.
GetEnumerator() Returns an System.Collections.IEnumerator object that you can use to enumerate the items in the view.
GetItemAt(int) Gets the item at the specified zero-based index in this System.Windows.Data.PagedCollectionView, after the source collection is filtered, sorted, and paged.
IndexOf(object) Returns the zero-based index at which the specified item is located.
MoveCurrentTo(object) 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(int) 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() Moves to the page after the current page.
MoveToPage(int) Moves to the page at the specified index.
MoveToPreviousPage() Moves to the page before the current page.
PassesFilter(object) Returns a value that indicates whether the specified item in the underlying collection belongs to the view after filters are applied.
Refresh() Re-creates the view.
Remove(object) Removes the specified item from the collection.
RemoveAt(int) Removes the item at the specified position from the collection.

Events

CollectionChanged Occurs when the view has changed.
CurrentChanged Occurs after the System.Windows.Data.PagedCollectionView.CurrentItem has changed.
CurrentChanging Occurs when the System.Windows.Data.PagedCollectionView.CurrentItem is changing.
PageChanged Occurs after the System.Windows.Data.PagedCollectionView.PageIndex has changed.
PageChanging Occurs when the System.Windows.Data.PagedCollectionView.PageIndex is changing.
PropertyChanged Occurs after a property value has changed.

...