HierarchicalDataBoundControl.OnDataSourceChanged(Object, EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
The HierarchicalDataBoundControl class handles the DataSourceChanged event to set the RequiresDataBinding property to true
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.