Esporta (0) Stampa
Espandi tutto

IPagedCollectionView Interface

Silverlight

Defines methods and properties that a collection view implements to provide paging capabilities to a collection.

Namespace:  System.ComponentModel
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

public interface IPagedCollectionView

The IPagedCollectionView type exposes the following members.

  NameDescription
Public propertyCanChangePageGets a value that indicates whether the PageIndex value can change.
Public propertyIsPageChangingGets a value that indicates whether the page index is changing.
Public propertyItemCountGets the number of known items in the view before paging is applied.
Public propertyPageIndexGets the zero-based index of the current page.
Public propertyPageSizeGets or sets the number of items to display on a page.
Public propertyTotalItemCountGets the total number of items in the view before paging is applied.
Top

  NameDescription
Public methodMoveToFirstPageSets the first page as the current page.
Public methodMoveToLastPageSets the last page as the current page.
Public methodMoveToNextPageMoves to the page after the current page.
Public methodMoveToPageMoves to the page at the specified index.
Public methodMoveToPreviousPageMoves to the page before the current page.
Top

  NameDescription
Public eventPageChangedWhen implementing this interface, raise this event after the PageIndex has changed.
Public eventPageChangingWhen implementing this interface, raise this event before changing the PageIndex. The event handler can cancel this event.
Top

The PagedCollectionView type implements IPagedCollectionView.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft