ListView.CreateEmptyItem ListView.CreateEmptyItem ListView.CreateEmptyItem ListView.CreateEmptyItem Method


Creates an empty item in the ListView control.

 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


The empty item that was created.


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.


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

Applies to

See also