MobileForms Toolkit Documentation

ItemComboBox.DataSource Property

Gets or sets the data source that populates the items of the bound combobox.

public object DataSource {get; set;}

Property Value

An object that implements the IList interface, such as a DataSet or an Array. The default is a reference to inner list of data.

Remarks

Use this property to bind the ItemComboBox to external source of data. Setting null to this property will reset it to reference the inner array of data. You can use this property to directly reference the inner array of data.

Which data are really displayed is controlled by the DisplayMember property. The Value property is filled with the ValueMember from the list.

See Also

ItemComboBox Class | Resco.Controls.DetailView Namespace