DataGridView.ItemsSource Property
Gets or sets the grid’s data source. This is a bindable property.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public object ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.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 is 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 changes.
For more information, refer to the following help topic: Bind DataGridView to a Data Source.