DomainDataSourceView.TotalItemCount 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 total number of items in the view before paging is applied, or -1 if the total number is not known.

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

Syntax

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

value = instance.TotalItemCount
public int TotalItemCount { get; }
public:
virtual property int TotalItemCount {
    int get () sealed;
}
abstract TotalItemCount : int
override TotalItemCount : int
final function get TotalItemCount () : int

Property Value

Type: System.Int32
The total number of items in the view prior to paging, or -1 if the total number is not known.

Implements

IPagedCollectionViewTotalItemCount()

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

TotalItemCount()