Redigera

Dela via


ItemPager.ItemCount Property

Definition

Gets the count of items visible on the current page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property int ItemCount { int get(); };
public int ItemCount { get; }
member this.ItemCount : int
Public ReadOnly Property ItemCount As Integer

Property Value

The count of items visible on the current page.

Remarks

ASP.NET mobile controls that support internal pagination also provide a feature called custom pagination. Normally, such controls require you to provide all the data that they can display. Developers specify the total number of items that are in the list in the ItemCount property. The ItemsPerPage property specifies how many items the control displays per page.

Applies to

See also