[]
        
(Showing Draft Content)

FormatNodeEventArgs Class

FormatNodeEventArgs Class

Provides arguments for the TreeView.formatItem event.

Heirarchy

Constructors

Properties

Constructors

constructor

  • new FormatNodeEventArgs(dataItem: any, element: HTMLElement, level: number): FormatNodeEventArgs
  • Initializes a new instance of the FormatNodeEventArgs class.

    Parameters

    • dataItem: any

      Data item represented by the node.

    • element: HTMLElement

      Element that represents the node being formatted.

    • level: number

      The outline level of the node being formatted.

    Returns FormatNodeEventArgs

Properties

dataItem

dataItem: any

Gets the data item being formatted.

element

element: HTMLElement

Gets a reference to the element that represents the node being formatted.

level

level: number

Gets the outline level of the node being formatted.

Static empty

empty: EventArgs

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