Control.IControlDesignerAccessor.SetOwnerControl(Control) Method

Definition

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

The owner of the control.

Implements

Exceptions

owner is set to the current control.

Remarks

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.

Applies to