HierarchicalDataBoundControlAdapter::Control Property
.NET Framework (current version)
Retrieves a strongly typed reference to the HierarchicalDataBoundControl control associated with this HierarchicalDataBoundControlAdapter object.
Assembly: System.Web (in System.Web.dll)
protected: property HierarchicalDataBoundControl^ Control { HierarchicalDataBoundControl^ get(); }
Property Value
Type: System.Web.UI.WebControls::HierarchicalDataBoundControl^The HierarchicalDataBoundControl associated with the current instance of HierarchicalDataBoundControlAdapter.
The Control property provides access to the corresponding control, including its properties and methods.
The following code example demonstrates how to override the Control property to retrieve a strongly typed TreeView control. This code example is part of a larger example provided for the HierarchicalDataBoundControlAdapter class.
.NET Framework
Available since 2.0
Available since 2.0
Show: