ListView.CreateItemsWithoutGroups(ListViewPagedDataSource, Boolean, InsertItemPosition, ArrayList) ListView.CreateItemsWithoutGroups(ListViewPagedDataSource, Boolean, InsertItemPosition, ArrayList) ListView.CreateItemsWithoutGroups(ListViewPagedDataSource, Boolean, InsertItemPosition, ArrayList) ListView.CreateItemsWithoutGroups(ListViewPagedDataSource, Boolean, InsertItemPosition, ArrayList) Method

Definition

Creates the ListView control hierarchy without groups.

protected:
 virtual System::Collections::Generic::IList<System::Web::UI::WebControls::ListViewDataItem ^> ^ CreateItemsWithoutGroups(System::Web::UI::WebControls::ListViewPagedDataSource ^ dataSource, bool dataBinding, System::Web::UI::WebControls::InsertItemPosition insertPosition, System::Collections::ArrayList ^ keyArray);
protected virtual System.Collections.Generic.IList<System.Web.UI.WebControls.ListViewDataItem> CreateItemsWithoutGroups (System.Web.UI.WebControls.ListViewPagedDataSource dataSource, bool dataBinding, System.Web.UI.WebControls.InsertItemPosition insertPosition, System.Collections.ArrayList keyArray);
abstract member CreateItemsWithoutGroups : System.Web.UI.WebControls.ListViewPagedDataSource * bool * System.Web.UI.WebControls.InsertItemPosition * System.Collections.ArrayList -> System.Collections.Generic.IList<System.Web.UI.WebControls.ListViewDataItem>
override this.CreateItemsWithoutGroups : System.Web.UI.WebControls.ListViewPagedDataSource * bool * System.Web.UI.WebControls.InsertItemPosition * System.Collections.ArrayList -> System.Collections.Generic.IList<System.Web.UI.WebControls.ListViewDataItem>
Protected Overridable Function CreateItemsWithoutGroups (dataSource As ListViewPagedDataSource, dataBinding As Boolean, insertPosition As InsertItemPosition, keyArray As ArrayList) As IList(Of ListViewDataItem)

Parameters

dataBinding
Boolean Boolean Boolean Boolean

true to indicate that the ListView control is bound to data; otherwise, false.

keyArray
ArrayList ArrayList ArrayList ArrayList

An array that represents the data-key value of each item in the ListView control.

Returns

An object that contains all the data items of the current page of data in a ListView control.

Remarks

The CreateItemsWithoutGroups method is used to create the control hierarchy of the ListView control. This method is used by the ListView control only when the GroupTemplate property is not defined.

Note

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

Applies to

See also