Edit

Share via


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(object sender, EventArgs e);

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