DataGridView.ItemsSource Property

Gets or sets the grid’s data source.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public object ItemsSource { get; set; }

Property Value

Type Description
Object

An object that implements the IList, IList<T>, IEnumerable or IEnumerable<T> interface and specifies the data source from which the grid retrieves its data. You can also use a DataTable object as the data source.

Remarks

If the grid’s data source is a collection that implements the IBindingList or INotifyCollectionChanged interface, the grid is automatically updated when the collection if changed (items are added, moved or deleted). If an item of the grid’s bound data source implements the INotifyPropertyChanged interface, the grid is automatically updated when the collection’s item is changed.

See Also