Share via


DomainDataSourceView.PageSize Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the number of items to display on a page.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Property PageSize As Integer
    Get
    Set
'Usage
Dim instance As DomainDataSourceView
Dim value As Integer

value = instance.PageSize

instance.PageSize = value
public int PageSize { get; set; }
public:
virtual property int PageSize {
    int get () sealed;
    void set (int value) sealed;
}
abstract PageSize : int with get, set
override PageSize : int with get, set
final function get PageSize () : int
final function set PageSize (value : int)

Property Value

Type: System.Int32
The number of items to display on a page.

Implements

IPagedCollectionViewPageSize()

Remarks

When PageSize is zero, the view is not paging.

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

PageSize()