IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) Method

定义

实现时,指定作为所有者控制方法实现的控件。When implemented, specifies the control that acts as the owner to the control implementing this method.

public:
 void SetOwnerControl(System::Web::UI::Control ^ owner);
public void SetOwnerControl (System.Web.UI.Control owner);
abstract member SetOwnerControl : System.Web.UI.Control -> unit
Public Sub SetOwnerControl (owner As Control)

参数

owner
Control Control Control Control

作为所有者的控件。The control to act as owner.

注解

在一个控件包含其他控件的复合容器方案中, 容器是控件所有者。In a composite container scenario where one control contains another control, the container is the control owner.

适用于

另请参阅