ListView.CreateItemsWithoutGroups 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 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
- dataSource
- ListViewPagedDataSource
The data source.
- insertPosition
- InsertItemPosition
One of the InsertItemPosition values.
- keyArray
- 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.