HierarchicalDataBoundControl.OnDataSourceChanged(Object, EventArgs) Method

Definition

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

C#
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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1