ListView.InstantiateInsertItemTemplate(Control) 方法

定义

通过使用 Control 模板中包含的子控件,填充指定的 InsertItemTemplate 对象。Populates the specified Control object by using the child controls that are contained in the InsertItemTemplate template.

protected:
 virtual void InstantiateInsertItemTemplate(System::Web::UI::Control ^ container);
protected virtual void InstantiateInsertItemTemplate (System.Web.UI.Control container);
abstract member InstantiateInsertItemTemplate : System.Web.UI.Control -> unit
override this.InstantiateInsertItemTemplate : System.Web.UI.Control -> unit
Protected Overridable Sub InstantiateInsertItemTemplate (container As Control)

参数

container
Control

一个容器,用于存储 InsertItemTemplate 模板中的子控件。The container that is used to store the child controls in the InsertItemTemplate template.

注解

此方法主要由控件开发人员用来扩展 ListView 控件。This method is primarily used by control developers to extend the ListView control.

适用于

另请参阅