Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetOwnerControl Method
Collapse the table of content
Expand the table of content

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)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft