DataPager.PageSize Property
Silverlight
Gets or sets a value that indicates the number of items displayed on a page.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Page size is less than 0. |
Dependency property identifier field: PageSizeProperty
The source typically implements the IPagedCollectionView interface. In this case, PageSize gets or sets the IPagedCollectionView.PageSize of the IPagedCollectionView.
If the source is a collection that implements IEnumerable<T> but not IPagedCollectionView, the DataPager ignores PageSize.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.