interface IPropertyPane { collapsed: boolean; id: string; onPropertyPaneVisibilityUpdated: EventSink<PropertyPaneVisibilityUpdate>; visible: boolean; addBlockList(options?: IPropertyItemOptionsBlockList): IBlockListPropertyItem<{ EMPTY: undefined; }, "EMPTY">; addBool(value: IObservableProp<boolean>,
options?: IBoolPropertyItemOptions): IBoolPropertyItem; addBool_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptionsBool): IPropertyItem<T, Prop>; addButton(action: RegisteredAction<NoArgsAction> | (() => void),
options?: IButtonPropertyItemOptions): IButtonPropertyItem; addColorPicker(value: IObservableProp<RGBA>,
options?: IColorPickerPropertyItemOptions): IColorPickerPropertyItem; addColorPicker_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptionsColorPicker_deprecated): IPropertyItem<T, Prop>; addComboBox(value: IObservableProp<string>,
options?: IComboBoxPropertyItemOptions): IComboBoxPropertyItem; addDivider(): IPropertyItemBase; addDropdown(value: IObservableProp<number>,
options?: IDropdownPropertyItemOptions): IDropdownPropertyItem; addDropdown_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptionsDropdown): IDropdownPropertyItem_deprecated<T, Prop>; addImage(value: IObservableProp<string | ImageResourceData>,
options?: IImagePropertyItemOptions): IImagePropertyItem; addNumber(value: IObservableProp<number>,
options?: INumberPropertyItemOptions): INumberPropertyItem; addNumber_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptionsNumber): IPropertyItem<T, Prop>; addString(value: IObservableProp<string>,
options?: IStringPropertyItemOptions): IStringPropertyItem; addString_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptions): IPropertyItem<T, Prop>; addTable(options?: IPropertyItemOptionsTable): ITablePropertyItem<{ EMPTY: undefined; }, "EMPTY">; addText(value: IObservableProp<LocalizedString>,
options?: ITextPropertyItemOptions): ITextPropertyItem; addToggleGroup(value: IObservableProp<number>,
options?: IToggleGroupPropertyItemOptions): IToggleGroupPropertyItem; addVector3(value: IObservableProp<Vector3>,
options?: IVector3PropertyItemOptions): IVector3PropertyItem; addVector3_deprecated<T, Prop>(obj: T,
property: Prop,
options?: IPropertyItemOptionsVector3): IVector3PropertyItem_deprecated<T, Prop>; collapse(): void; createSubPane(options: ISubPanePropertyItemOptions): ISubPanePropertyItem; expand(): void; getTitle(): LocalizedString; hide(): void; removeSubPane(paneToRemove: IPropertyPane): boolean; setTitle(newTitle: LocalizedString): void; show(): void; } 属性
实验性
collapsed
collapsed: boolean
实验性
onPropertyPaneVisibilityUpdated
实验性
visible
visible: boolean
方法
addColorPicker_deprecated
collapse
- collapse(): void
实验性
返回 void
removeSubPane
- removeSubPane(paneToRemove): boolean
实验性
返回 boolean
setTitle
- setTitle(newTitle): void
实验性
返回 void
Property pane present dynamic content. It can be associated with an object and presented with different kind of controls.