Share via


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

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

Syntax

'Declaration
Public ReadOnly Property PageCount As Integer
    Get
'Usage
Dim instance As DomainDataSourceView
Dim value As Integer

value = instance.PageCount
public int PageCount { get; }
public:
property int PageCount {
    int get ();
}
member PageCount : int
function get PageCount () : int

Property Value

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

Remarks

If PageSize is zero, the PageCount is also zero.

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace