ItemCollection.Count 屬性

定義

取得集合中的記錄數目。

public:
 virtual property int Count { int get(); };
public override int Count { get; }
member this.Count : int
Public Overrides ReadOnly Property Count As Integer

屬性值

Int32

集合中的項目數目,如果集合未初始化或沒有任何集合在 ItemsSource 模式中,則為 0。

實作

適用於