Edit

Share via


ListView.CreateEmptyItem Method

Definition

Creates an empty item in the ListView control.

protected:
 virtual System::Web::UI::WebControls::ListViewItem ^ CreateEmptyItem();
protected virtual System.Web.UI.WebControls.ListViewItem CreateEmptyItem ();
abstract member CreateEmptyItem : unit -> System.Web.UI.WebControls.ListViewItem
override this.CreateEmptyItem : unit -> System.Web.UI.WebControls.ListViewItem
Protected Overridable Function CreateEmptyItem () As ListViewItem

Returns

The empty item that was created.

Remarks

The CreateEmptyItem method is a helper method that is called by the ListView control to create an empty item. The empty item is displayed when the last group of a page of data in the ListView control does not have any more records to display.

Note

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

Applies to

See also