Επεξεργασία

Κοινή χρήση μέσω


ListView.InstantiateEmptyItemTemplate(Control) Method

Definition

Populates the specified Control object by using the child controls that are contained in the EmptyItemTemplate template.

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

Parameters

container
Control

The container that is used to store the child controls in the EmptyItemTemplate template.

Remarks

This method is used to populate the Control object by using the child controls that are contained in the EmptyItemTemplate template.

Note

This method is primarily used by control developers to extend the ListView control.

Applies to

See also