Redigera

Dela via


IControlDesignerAccessor.SetOwnerControl(Control) Method

Definition

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

The control to act as owner.

Remarks

In a composite container scenario where one control contains another control, the container is the control owner.

Applies to

See also