Udostępnij za pośrednictwem


IPagedCollectionView.TotalItemCount Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the total number of items in the view before paging is applied.

Namespace:  System.ComponentModel
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
ReadOnly Property TotalItemCount As Integer
int TotalItemCount { get; }

Property Value

Type: System.Int32
The total number of items in the view before paging is applied, or -1 if the total number is unknown.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.