Skip to main content
.NET Framework Class Library
IControlDesignerAccessor..::.SetOwnerControl Method

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)
Syntax
Sub SetOwnerControl ( _
	owner As Control _
)
void SetOwnerControl(
	Control owner
)
void SetOwnerControl(
	Control^ owner
)
abstract SetOwnerControl : 
        owner:Control -> unit 

Parameters

owner
Type: System.Web.UI..::.Control
The control to act as owner.
Remarks

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

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.