Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControl.DataSource Property

Gets or sets the vertical grid’s data source.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

[DefaultValue(null)]
public object DataSource { get; set; }

#Property Value

Type Default Description
Object null

An object representing the grid’s data source.

#Remarks

Objects implementing the IList, ITypedList and IBindingList interfaces can be used as data sources, you can also use database or XML file content as a data source. Please refer to the Data Modes Overview topic for information on which objects can be assigned to the DataSource property.

Changing this property value raises the VGridControlBase.DataSourceChanged event.

See Also