alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ItemsGenerator

    Generates the ListViewItem instances in the SfListView control.

    Inheritance
    object
    ItemsGenerator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.dll
    Syntax
    public class ItemsGenerator

    Constructors

    ItemsGenerator(SfListView)

    Initializes a new instance of the ItemsGenerator class.

    Declaration
    public ItemsGenerator(SfListView listView)
    Parameters
    Type Name Description
    SfListView listView

    The SfListView instance.

    Methods

    OnCreateListViewItem(int, 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
    int itemIndex

    Indicates the item index of ListViewItem.

    ItemType type

    Indicates the item type of ListViewItem.

    object data

    Indicates the item data of ListViewItem.

    Returns
    Type Description
    ListViewItem

    Returns the instance of ListViewItem based on ItemType.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved