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
id
readonlyid:string
Beta
Remarks
Unique ID for the property item.
Inherited from
paneId
readonlypaneId:string
Beta
Remarks
The parent pane id.
Inherited from
typeName
readonlytypeName:PropertyItemType
Beta
Remarks
The type name of the target property.
Inherited from
value
readonlyvalue: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
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
New list of updated entries.
newValue?
number
New value value to use for the dropdown.
Returns
void
Remarks
Update list of dropdown entries.
