Share via


PagedControl.ItemCount 屬性

定義

取得或設定控制項中的項目計數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 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

屬性值

控制項中的項目計數。

屬性

備註

必須啟用自定義分頁。 預設值為 0,表示您無法使用自訂分頁。

用於項目的單位取決於控件。 例如, List 控件可能會使用清單專案做為單位,而 TextView 控件可能會使用字元。

適用於

另請參閱