ASP.NET Core MVC Controls | ComponentOne
In This Topic
    FormatItemEventArgs Class
    In This Topic
    File
    wijmo.input.js
    Module
    wijmo.input
    Base Class
    EventArgs

    Provides arguments for the ListBox.formatItem event.

    Constructor

    Properties

    Events

    Constructor

    constructor

    constructor(index: number, data: any, item: HTMLElement): FormatItemEventArgs
    

    Initializes a new instance of the FormatItemEventArgs class.

    Parameters
    • index: number

      Index of the item being formatted in the source ICollectionView, or -1 if the item is a group header.

    • data: any

      Data item being formatted, or a CollectionViewGroup object if the item is a group header.

    • item: HTMLElement

      Element that represents the list item to be formatted.

    Returns
    FormatItemEventArgs

    Properties

    data

    Gets the data item being formatted.

    Type
    any

    index

    Gets the index of the data item in the list.

    Type
    number

    item

    Gets a reference to the element that represents the list item to be formatted.

    Type
    HTMLElement

    Events

     

    Static empty

    Provides a value to use with events that do not have event data.

    Inherited From
    EventArgs
    Arguments
    EventArgs