Interface IDropdownPropertyItem

A property item which supports Dropdown properties

Hierarchy

Properties

enable: boolean

Remarks

If the item is enabled in the UI.

id: string

Remarks

Unique ID for the property item.

paneId: string

Remarks

The parent pane id.

Remarks

The type name of the target property.

value: number

Remarks

Current selected entry value of the property item list.

visible: boolean

Remarks

If the item should be visible in the UI.

Methods

  • Parameters

    • index: number

      Index of the dropdown entry in the list.

    Returns undefined | IDropdownPropertyItemEntry

    Remarks

    Find a dropdown entry at an index in the dropdown list.

  • Parameters

    • value: number

      Value of the dropdown entry in the list.

    Returns undefined | IDropdownPropertyItemEntry

    Remarks

    Find a dropdown entry with a specific value associated with property item.

  • Parameters

    Returns void

    Remarks

    Updates title of the property item.

  • Parameters

    Returns void

    Remarks

    Updates tooltip of the property item.

  • Parameters

    • entries: IDropdownPropertyItemEntry[]

      New list of updated entries.

    • Optional newValue: number

      New value value to use for the dropdown.

    Returns void

    Remarks

    Update list of dropdown entries.