Control::IControlDesignerAccessor::SetOwnerControl Method (Control^)


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)

virtual void SetOwnerControl(
	Control^ owner
) sealed = 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