IControlDesignerAccessor.SetOwnerControl(Control) Method

Definition

Cuando se implementa, especifica el control que actúa como propietario del control que implementa este método.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)

Parameters

owner
Control

Control que va a actuar como propietario.The control to act as owner.

Remarks

En un escenario de contenedor compuesto donde un control contiene otro control, el contenedor es el propietario del control.In a composite container scenario where one control contains another control, the container is the control owner.

Applies to

See also