Export (0) Print
Expand All

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)

public int PageSize { get; set; }
<sdk:DataPager PageSize="int"/>

Property Value

Type: System.Int32
A value that indicates the number of items displayed on a page.

ExceptionCondition
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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft