共用方式為


PagedCollectionView.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.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

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

Property Value

Type: System.Int32
The total number of items in the view before paging is applied.

Implements

IPagedCollectionView.TotalItemCount

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.