語言

DataGridComboBoxColumn.ItemsSource 屬性

定義

取得或設定一個集合,用來產生組合盒控制項的內容。

public:
 property System::Collections::IEnumerable ^ ItemsSource { System::Collections::IEnumerable ^ get(); void set(System::Collections::IEnumerable ^ value); };
public System.Collections.IEnumerable ItemsSource { get; set; }
member this.ItemsSource : System.Collections.IEnumerable with get, set
Public Property ItemsSource As IEnumerable

屬性值

一個用來產生組合盒控制內容的集合。 註冊預設為 null。 關於影響該值的因素,請參見 DependencyProperty。

備註

此特性會填充該欄所有組合框的下拉選單。 這等價 ItemsSource 於 上的 ItemsControl性質。

適用於