Editare

Partajați prin


HierarchicalDataBoundControl.OnDataSourceChanged(Object, EventArgs) Method

Definition

Called when the IHierarchicalDataSource instance that the data-bound control works with raises the DataSourceChanged event.

protected:
 virtual void OnDataSourceChanged(System::Object ^ sender, EventArgs ^ e);
protected virtual void OnDataSourceChanged (object sender, EventArgs e);
abstract member OnDataSourceChanged : obj * EventArgs -> unit
override this.OnDataSourceChanged : obj * EventArgs -> unit
Protected Overridable Sub OnDataSourceChanged (sender As Object, e As EventArgs)

Parameters

sender
Object

The source of the event, the IHierarchicalDataSource object.

e
EventArgs

An EventArgs object that contains event data.

Remarks

The HierarchicalDataBoundControl class handles the DataSourceChanged event to set the RequiresDataBinding property to true.

Applies to