Control.IControlDesignerAccessor.SetOwnerControl Method (Control)


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

This API supports the product infrastructure and is not intended to be used directly from your code.

For a description of this member, see IControlDesignerAccessor.SetOwnerControl.

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

Private Sub SetOwnerControl (
	owner As Control
	Implements IControlDesignerAccessor.SetOwnerControl


Type: System.Web.UI.Control

The owner of the control.

Exception Condition

owner is set to the current control.

This member is an explicit interface member implementation. It can be used only when the Control instance is cast to an IControlDesignerAccessor interface.

The IControlDesignerAccessor interface is used by a control designer to perform design-time actions on the control.

.NET Framework
Available since 2.0
Return to top