DataGridComboBoxColumn::ItemsSource Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a collection that is used to generate the content of the combo box control.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property IEnumerable^ ItemsSource {
	IEnumerable^ get();
	void set(IEnumerable^ value);
}

Property Value

Type: System.Collections::IEnumerable^

A collection that is used to generate the content of the combo box control. The registered default is null. For information about what can influence the value, see DependencyProperty.

This property populates the drop-down list for all the combo boxes in the column. This is equivalent to the ItemsSource property on ItemsControl.

.NET Framework
Available since 4.0
Return to top
Show: