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/IPropertyPane.md.

Interface: IPropertyPane

Beta

Property pane present dynamic content. It can be associated with an object and presented with different kind of controls.

Extends

Extended by

Properties

collapsed

实验性

readonly collapsed: boolean

Beta

Remarks

Pane state for being expanded or collapsed.


id

readonly id: string

Beta

Remarks

Unique identifier for the pane.

Inherited from

IPane.id


onPropertyPaneVisibilityUpdated

onPropertyPaneVisibilityUpdated: EventSink<PropertyPaneVisibilityUpdate>

Beta

Remarks

Provides visibility change events


visible

visible: boolean

Beta

Remarks

Check visibility of the pane

Inherited from

IPane.visible

Methods

addBlockList()

addBlockList(value, options?): IBlockListPropertyItem

Beta

Parameters

value

IObservableProp<string[]>

options?

IBlockListPropertyItemOptions

Returns

IBlockListPropertyItem

Remarks

Adds a block list to the pane.


addBlockTable()

addBlockTable(options?): IBlockTablePropertyItem

Beta

Parameters

options?

IBlockTablePropertyItemOptions

Returns

IBlockTablePropertyItem

Remarks

Adds a block table to the pane.


addBool()

addBool(value, options?): IBoolPropertyItem

Beta

Parameters

value

IObservableProp<boolean>

options?

IBoolPropertyItemOptions

Returns

IBoolPropertyItem

Remarks

Adds a togglable boolean item to the pane.


addButton()

addButton(action, options?): IButtonPropertyItem

Beta

Parameters

action

ButtonPropertyItemSupportedActionTypes

options?

IButtonPropertyItemOptions

Returns

IButtonPropertyItem

Remarks

Adds a button to the pane and binds the specified action to the button interaction.


addButtonPane()

addButtonPane(options?): IButtonPanePropertyItem

Beta

Parameters

options?

IButtonPanePropertyItemOptions

Returns

IButtonPanePropertyItem

Remarks

Adds a pane for grouped button layout.


addCollectionTree()

addCollectionTree(options): ICollectionTreePropertyItem

Beta

Parameters

options

ICollectionTreePropertyItemOptions

Returns

ICollectionTreePropertyItem

Remarks

Adds a tree view for collections with folders and entries.


addColorPicker()

addColorPicker(value, options?): IColorPickerPropertyItem

Beta

Parameters

value

any

options?

IColorPickerPropertyItemOptions

Returns

IColorPickerPropertyItem

Remarks

Adds a color picker item to the pane.


addColorTimeline()

addColorTimeline(value, options?): IColorTimelinePropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

IColorTimelinePropertyItemOptions

Returns

IColorTimelinePropertyItem

Remarks

Adds a Color Timeline item to the pane.


addComboBox()

addComboBox(value, options?): IComboBoxPropertyItem

Beta

Parameters

value

IObservableProp<string>

options?

IComboBoxPropertyItemOptions

Returns

IComboBoxPropertyItem

Remarks

Adds a combo box item to the pane.


addDataTable()

addDataTable(options?): IDataTablePropertyItem

Beta

Parameters

options?

IDataTablePropertyItemOptions

Returns

IDataTablePropertyItem

Remarks

Adds a data table to the pane.


addDivider()

addDivider(options?): IPropertyItemBase

Beta

Parameters

options?

IDividerPropertyItemOptions

Returns

IPropertyItemBase

Remarks

Adds an divider item to the pane.


addDropdown()

addDropdown(value, options?): IDropdownPropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

IDropdownPropertyItemOptions

Returns

IDropdownPropertyItem

Remarks

Adds an Dropdown item to the pane.


addImage()

addImage(value, options?): IImagePropertyItem

Beta

Parameters

value

IObservableProp<string | ImageResourceData>

options?

IImagePropertyItemOptions

Returns

IImagePropertyItem

Remarks

Adds an image item to the pane.


addLink(value, options?): ILinkPropertyItem

Beta

Parameters

value

IObservableProp<string>

options?

ILinkPropertyItemOptions

Returns

ILinkPropertyItem

Remarks

Adds a Link item to the pane.


addListPane()

addListPane(options): IListPanePropertyItem

Beta

Parameters

options

IListPanePropertyItemOptions

Returns

IListPanePropertyItem

Remarks

Adds a pane for displaying list of items in a predefined layout.


addMenu()

addMenu(defaultEntries, options?): IMenuPropertyItem

Beta

Parameters

defaultEntries

object[]

options?

IMenuPropertyItemOptions

Returns

IMenuPropertyItem

Remarks

Adds a menu button property item to the pane.


addMinimap()

addMinimap(mapId, options?): IMinimapPropertyItem

Beta

Parameters

mapId

string

options?

IMinimapPropertyItemOptions

Returns

IMinimapPropertyItem

Remarks

Adds Map item to the pane.


addNumber()

addNumber(value, options?): INumberPropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

INumberPropertyItemOptions

Returns

INumberPropertyItem

Remarks

Adds a number item to the pane.


addNumberTimeline()

addNumberTimeline(value, options?): INumberTimelinePropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

INumberTimelinePropertyItemOptions

Returns

INumberTimelinePropertyItem

Remarks

Adds a Number Timeline item to the pane.


addProgressIndicator()

addProgressIndicator(options?): IProgressIndicatorPropertyItem

Beta

Parameters

options?

IProgressIndicatorPropertyItemOptions

Returns

IProgressIndicatorPropertyItem

Remarks

Adds a Progress Indicator item to the pane.


addProxyPane()

addProxyPane(paneId): void

Beta

Parameters

paneId

string

Returns

void

Remarks

Adds a proxy view of another supported pane


addString()

addString(value, options?): IStringPropertyItem

Beta

Parameters

value

IObservableProp<string>

options?

IStringPropertyItemOptions

Returns

IStringPropertyItem

Remarks

Adds an editable string item to the pane


addTagContainer()

addTagContainer(options?): ITagContainerPropertyItem

Beta

Parameters

options?

ITagContainerPropertyItemOptions

Returns

ITagContainerPropertyItem

Remarks

Adds a tag container to the pane.


addText()

addText(value, options?): ITextPropertyItem

Beta

Parameters

value

IObservableProp<LocalizedString>

options?

ITextPropertyItemOptions

Returns

ITextPropertyItem

Remarks

Adds a multiline Text item to the pane.


addTimelinePlayer()

addTimelinePlayer(options?): ITimelinePlayer

Beta

Parameters

options?

ITimelinePlayerOptions

Returns

ITimelinePlayer

Remarks

Adds a timeline player pane to the pane. The player owns its own playhead and a collection of timeline entries that share that playhead.


addToggleGroup()

addToggleGroup(value, options?): IToggleGroupPropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

IToggleGroupPropertyItemOptions

Returns

IToggleGroupPropertyItem

Remarks

Adds a toggle button group to the pane.


addVector2()

addVector2(value, options?): IVector2PropertyItem

Beta

Parameters

value

any

options?

IVector2PropertyItemOptions

Returns

IVector2PropertyItem

Remarks

Adds a Vector2 item to the pane.


addVector3()

addVector3(value, options?): IVector3PropertyItem

Beta

Parameters

value

any

options?

IVector3PropertyItemOptions

Returns

IVector3PropertyItem

Remarks

Adds a Vector3 item to the pane.


addVector3Timeline()

addVector3Timeline(value, options?): IVector3TimelinePropertyItem

Beta

Parameters

value

IObservableProp<number>

options?

IVector3TimelinePropertyItemOptions

Returns

IVector3TimelinePropertyItem

Remarks

Adds a Vector3 Timeline item to the pane.


collapse()

collapse(): void

Beta

Returns

void

Remarks

Collapse the pane.


createSubPane()

createSubPane(options): ISubPanePropertyItem

Beta

Parameters

options

ISubPanePropertyItemOptions

Returns

ISubPanePropertyItem

Remarks

Creates an sub pane that can store property items.


expand()

expand(): void

Beta

Returns

void

Remarks

Expand the pane.


getTitle()

getTitle(): LocalizedString | undefined

Beta

Returns

LocalizedString | undefined

Remarks

Returns pane title.


hide()

hide(): void

Beta

Returns

void

Remarks

Hide the pane.

Inherited from

IPane.hide


removeSubPane()

removeSubPane(paneToRemove): boolean

Beta

Parameters

paneToRemove

IPropertyPane

Returns

boolean

Remarks

Removes an existing sub pane.


setTitle()

setTitle(newTitle): void

Beta

Parameters

newTitle

LocalizedString | undefined

New title

Returns

void

Remarks

Updates title of pane.


show()

show(): void

Beta

Returns

void

Remarks

Show the pane and all of its items.

Inherited from

IPane.show


toggleSubPaneVisibility()

toggleSubPaneVisibility(subPaneId): void

Beta

Parameters

subPaneId

string | undefined

Identifier of the sub pane to display.

Returns

void

Remarks

Shows only the specified sub-pane, hiding all others