IControlDesignerAccessor::SetOwnerControl Method (Control^)

 
System_CAPS_noteNote

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)

void SetOwnerControl(
	Control^ owner
)

Parameters

owner
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
Show: