HierarchicalDataSourceDesigner.OnDataSourceChanged(EventArgs) Método

Definição

Aciona o evento DataSourceChanged quando as propriedades da fonte de dados foram alteradas e o valor da propriedade SuppressingDataSourceEvents é false.Raises the DataSourceChanged event when the properties of the data source have changed and the SuppressingDataSourceEvents property value is false.

protected:
 virtual void OnDataSourceChanged(EventArgs ^ e);
protected virtual void OnDataSourceChanged (EventArgs e);
abstract member OnDataSourceChanged : EventArgs -> unit
override this.OnDataSourceChanged : EventArgs -> unit
Protected Overridable Sub OnDataSourceChanged (e As EventArgs)

Parâmetros

e
EventArgs

Um objeto EventArgs fornecido pelo objeto de chamada.An EventArgs object provided by the calling object.

Comentários

O OnDataSourceChanged método notifica o designer de cada controle associado à fonte de dados associada para atualizar seu controle no host de design.The OnDataSourceChanged method notifies the designer of each control bound to the associated data source to refresh its control in the design host. Esse método pode ser suprimido com o SuppressDataSourceEvents método ou chamando o RefreshSchema método com um argumento de false .This method can be suppressed with the SuppressDataSourceEvents method, or by calling the RefreshSchema method with an argument of false.

Aplica-se a

Confira também