Editar

Compartilhar via


BaseDataListDesigner.OnDataSourceChanged Method

Definition

Called when the data source for the associated control has changed.

protected public:
 virtual void OnDataSourceChanged();
protected internal virtual void OnDataSourceChanged ();
abstract member OnDataSourceChanged : unit -> unit
override this.OnDataSourceChanged : unit -> unit
Protected Friend Overridable Sub OnDataSourceChanged ()

Remarks

The OnDataSourceChanged base method connects the associated control that is derived from the BaseDataList class to the current data source, and if that is different from the data source to which the control was connected, the method updates the design-time markup.

Applies to

See also