Edit

Share via


TemplateBuilder.InstantiateIn(Control) Method

Definition

Defines the Control object that child controls and templates belong to in design time.

public:
 virtual void InstantiateIn(System::Web::UI::Control ^ container);
public virtual void InstantiateIn (System.Web.UI.Control container);
abstract member InstantiateIn : System.Web.UI.Control -> unit
override this.InstantiateIn : System.Web.UI.Control -> unit
Public Overridable Sub InstantiateIn (container As Control)

Parameters

container
Control

The Control to contain the instances of controls from the inline template.

Implements

Remarks

The InstantiateIn method is required when implementing the ITemplate interface. The InstantiateIn method is used only in design time.

Applies to

See also