The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.ItemsSource Property

Gets or sets the grid's data source. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public object ItemsSource { get; set; }
Public Property ItemsSource As Object

Property Value

Type Description
Object

An object that implements either the IList or IList<T> interface and specifies the data source from which the grid retrieves its data. Also, you can use the DataTable as the data source for the grid.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The Bind a Grid to Data lesson of the Getting Started tutorial explains how to use the ItemsSource property to provide a data source for a GridControl instance.

See Also