Control.IControlDesignerAccessor.SetOwnerControl(Control) Method

Definition

Para una descripción de este miembro, vea SetOwnerControl(Control).For a description of this member, see SetOwnerControl(Control).

 virtual void System.Web.UI.IControlDesignerAccessor.SetOwnerControl(System::Web::UI::Control ^ owner) = System::Web::UI::IControlDesignerAccessor::SetOwnerControl;
void IControlDesignerAccessor.SetOwnerControl (System.Web.UI.Control owner);
abstract member System.Web.UI.IControlDesignerAccessor.SetOwnerControl : System.Web.UI.Control -> unit
override this.System.Web.UI.IControlDesignerAccessor.SetOwnerControl : System.Web.UI.Control -> unit
Sub SetOwnerControl (owner As Control) Implements IControlDesignerAccessor.SetOwnerControl

Parameters

owner
Control

Propietario del control.The owner of the control.

Implements

Exceptions

owner se establece en el control actual.owner is set to the current control.

Remarks

Este miembro es una implementación explícita del miembro de la interfaz.This member is an explicit interface member implementation. Solo se puede utilizar cuando la instancia de Control se convierte en una interfaz IControlDesignerAccessor.It can be used only when the Control instance is cast to an IControlDesignerAccessor interface.

Un diseñador de controles utiliza la interfaz IControlDesignerAccessor para realizar acciones en tiempo de diseño en el control.The IControlDesignerAccessor interface is used by a control designer to perform design-time actions on the control.

Applies to