PagedControl.ItemCount 属性
定义
获取或设置控件中的项数。Gets or sets the count of items in the control. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
property int ItemCount { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int ItemCount { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ItemCount : int with get, set
Public Property ItemCount As Integer
属性值
控件中的项数。The count of items in the control.
- 属性
注解
必须启用自定义分页。Custom pagination must be enabled. 默认值为0,指示不能使用自定义分页。The default is 0, indicating that you cannot use custom paging.
用于项的单位取决于控件。The units used for an item depend on the control. 例如, List 控件可能使用列表项作为单元,而 TextView 控件可以使用字符。For example, a List control might use list items as units, whereas a TextView control might use characters.