ItemsControl.Items Properti

Definisi

Mendapatkan koleksi yang digunakan untuk menghasilkan konten kontrol.

public:
 property ItemCollection ^ Items { ItemCollection ^ get(); };
ItemCollection Items();
public ItemCollection Items { get; }
var itemCollection = itemsControl.items;
Public ReadOnly Property Items As ItemCollection
<itemsControl>
  oneOrMoreItems
</itemsControl>

Nilai Properti

Koleksi yang digunakan untuk menghasilkan konten kontrol, jika ada; jika tidak, null. Defaultnya adalah koleksi kosong.

Berlaku untuk