Redigera

Dela via


IHierarchicalDataSourceDesigner.DataSourceChanged Event

Definition

Occurs when a data source control has changed in some way that affects data-bound controls.

public:
 event EventHandler ^ DataSourceChanged;
event EventHandler DataSourceChanged;
member this.DataSourceChanged : EventHandler 
Event DataSourceChanged As EventHandler 

Event Type

Notes to Implementers

Typically, when you implement the IHierarchicalDataSourceDesigner interface, the DataSourceChanged event handler calls the RefreshSchema(Boolean) method. If the CanRefreshSchema property is true, recreate any sample data, and then raise the event again to allow each data-bound control to refresh its markup.

Applies to

See also