GridControl.DataSource Property
OBSOLETE
Instead use the ItemsSource property. For detailed information, see the list of breaking changes in DXperience v2011 vol 1.
Obsolete. Gets or sets the grid’s data source. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
[Obsolete("Instead use the ItemsSource property. For detailed information, see the list of breaking changes in DXperience v2011 vol 1.")]
[Browsable(false)]
[Bindable(true)]
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
Object | An object that represents the data source from which the grid retrieves its data. |
Remarks
Use the DataControlBase.ItemsSource property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.