Skip to main content

BaseView.DataSourceChanged Event

Occurs when the data source of the current View changes.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.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