Xceed DataGrid for Silverlight Documentation
PageSize Property


Gets or sets the number of items that will be requested when a data request query is sent to the server.
Syntax
'Declaration
 
Public Property PageSize As Integer
'Usage
 
Dim instance As DataSourceProvider
Dim value As Integer
 
instance.PageSize = value
 
value = instance.PageSize
public int PageSize {get; set;}

Property Value

A value representing the number of items that will be requested when a data query is sent to the server. By default, 0, indicating no limit.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionPageSize must be greater than or equal to zero.
Example
For example, if the PageSize property is set to 20 and 40 items are required, 2 data request queries for 20 items will be sent to the server rather than one for 40 items.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataSourceProvider Class
DataSourceProvider Members

Send Feedback