Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridComboBoxColumn.ItemsSource Property

.NET Framework (current version)
 

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 IEnumerable ItemsSource { get; set; }

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:
© 2017 Microsoft