For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IDropdownPropertyItem.md.

Interface: IDropdownPropertyItem experimental

Beta

A property item which supports Dropdown properties

Extends

Properties

enable

enable: boolean

Beta

Remarks

If the item is enabled in the UI.

Inherited from

IPropertyItemBase.enable


id

readonly id: string

Beta

Remarks

Unique ID for the property item.

Inherited from

IPropertyItemBase.id


paneId

readonly paneId: string

Beta

Remarks

The parent pane id.

Inherited from

IPropertyItemBase.paneId


typeName

readonly typeName: PropertyItemType

Beta

Remarks

The type name of the target property.

Inherited from

IPropertyItemBase.typeName


value

readonly value: number

Beta

Remarks

Current selected entry value of the property item list.


visible

visible: boolean

Beta

Remarks

If the item should be visible in the UI.

Inherited from

IPropertyItemBase.visible

Methods

getEntryByIndex()

getEntryByIndex(index): IDropdownPropertyItemEntry | undefined

Beta

Parameters

index

number

Index of the dropdown entry in the list.

Returns

IDropdownPropertyItemEntry | undefined

Remarks

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


getEntryByValue()

getEntryByValue(value): IDropdownPropertyItemEntry | undefined

Beta

Parameters

value

number

Value of the dropdown entry in the list.

Returns

IDropdownPropertyItemEntry | undefined

Remarks

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


setTitle()

setTitle(title): void

Beta

Parameters

title

LocalizedString | undefined

New title.

Returns

void

Remarks

Updates title of the property item.


setTooltip()

setTooltip(tooltip): void

Beta

Parameters

tooltip

BasicTooltipContent | undefined

New tooltip.

Returns

void

Remarks

Updates tooltip of the property item.


updateEntries()

updateEntries(entries, newValue?): void

Beta

Parameters

entries

IDropdownPropertyItemEntry[]

New list of updated entries.

newValue?

number

New value value to use for the dropdown.

Returns

void

Remarks

Update list of dropdown entries.