DomainDataSourceView.PageCount Property

WCF RIA Services

[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 the number of the pages in this view.

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

public int PageCount { get; }

Property Value

Type: System.Int32
The number of pages in this view.

If PageSize is zero, the PageCount is also zero.