Raises the DataSourceDesigner.DataSourceChanged event when the properties of the data source have changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.
- e
- An EventArgs object provided by the calling object.
The DataSourceDesigner.OnDataSourceChanged(EventArgs) method notifies the control designers of each control that is bound to the associated data source to refresh its control in the design host. The DataSourceDesigner.OnDataSourceChanged(EventArgs) method can be suppressed with the DataSourceDesigner.SuppressDataSourceEvents method or by calling the DataSourceDesigner.RefreshSchema(bool) method with an argument of false.