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

BaseView.DataSourceChanged Event

Occurs when the data source of the current View changes.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DXCategory("Property Changed")]
public event EventHandler DataSourceChanged

#Event Data

The DataSourceChanged event's data class is EventArgs.

#Remarks

The event serves as a notification that the View’s BaseView.DataSource property is changed. For instance, this occurs when you connect a grid control to another data source via the GridControl.DataSource and GridControl.DataMember properties.

The event is also raised for detail clone Views when they are opened by expanding the corresponding master row.

See Also