Control::IControlDesignerAccessor::SetOwnerControl Method (Control^)
.NET Framework (current version)
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.
Assembly: System.Web (in System.Web.dll)
private: virtual void SetOwnerControl( Control^ owner ) sealed = IControlDesignerAccessor::SetOwnerControl
Parameters
- owner
-
Type:
System.Web.UI::Control^
The owner of the control.
| Exception | Condition |
|---|---|
| ArgumentException | 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
Available since 2.0
Show: