[]
        
(Showing Draft Content)

FormatItemEventArgs Class

FormatItemEventArgs Class

Provides arguments for the ListBox.formatItem event.

Heirarchy

Constructors

Properties

Constructors

constructor

  • 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

data: any

Gets the data item being formatted.

index

index: number

Gets the index of the data item in the list.

item

item: HTMLElement

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

Static empty

empty: EventArgs

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