Share via


VirtualizingLayoutContext.ItemCount 屬性

定義

取得資料中的專案數。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

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

屬性值

Int32

int

資料中的專案數。

備註

這個屬性會取得 ItemCountCore所傳回的值,這個值必須在衍生類別中實作。

適用於