ListView.CreateEmptyItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.