Class ItemGenerator
Generates the ListViewItem instances in the SfListView control.
Inheritance
System.Object
    ItemGenerator
  Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public class ItemGenerator : Object
  Constructors
ItemGenerator(SfListView)
Initializes a new instance of the ItemGenerator class.
Declaration
public ItemGenerator(SfListView listView)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfListView | listView | The SfListView instance.  | 
      
Methods
Dispose()
Disposes all allocated resources.
Declaration
public void Dispose()
  OnCreateListViewItem(Int32, ItemType, Object)
Helper method to create the ListViewItem based on the ItemType.
Declaration
protected virtual ListViewItem OnCreateListViewItem(int itemIndex, ItemType type, object data = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | itemIndex | Indicates the item index of ListViewItem.  | 
      
| ItemType | type | Indicates the item type of ListViewItem.  | 
      
| System.Object | data | Indicates the item data of ListViewItem.  | 
      
Returns
| Type | Description | 
|---|---|
| ListViewItem | Returns the instance of ListViewItem based on ItemType.  |