IControlDesignerAccessor.SetOwnerControl(Control) Метод
Определение
При реализации указывает элемент управления, выступающий в качестве владельца по отношению к элементу управления, реализующему данный метод.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
Элемент управления, выступающий в качестве владельца.The control to act as owner.
Комментарии
В сценарии составного контейнера, где один элемент управления содержит другой элемент управления, контейнер является владельцем элемента управления.In a composite container scenario where one control contains another control, the container is the control owner.