ItemsControl.Items 屬性

定義

取得用來產生 控制項內容的集合。

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>

屬性值

如果控制項存在,則用來產生控制項內容的集合;否則為 null。 預設為空集合。

適用於