DataGridComboBoxColumn.ItemsSource 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個集合,用來產生組合盒控制項的內容。
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性質。