SetOwnerControl Method
Collapse the table of content
Expand the table of content

IControlDesignerAccessor.SetOwnerControl Method (Control)


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


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
© 2015 Microsoft