IControlDesignerAccessor.SetOwnerControl Method (Control)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When implemented, specifies the control that acts as the owner to the control implementing this method.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Sub SetOwnerControl (
	owner As Control


Type: System.Web.UI.Control

The control to act as owner.

In a composite container scenario where one control contains another control, the container is the control owner.

.NET Framework
Available since 2.0
Return to top