A newer version of this page is available. Switch to the current version.

BaseView.DataSourceChanged Event

Occurs when the data source of the current View changes.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll


[DXCategory("Property Changed")]
public event EventHandler DataSourceChanged
<DXCategory("Property Changed")>
Public Event DataSourceChanged As EventHandler

Event Data

The DataSourceChanged event's data class is EventArgs.


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