interface IPropertyPane { collapsed: boolean; id: string; onPropertyPaneVisibilityUpdated: EventSink<PropertyPaneVisibilityUpdate>; visible: boolean; addBlockList( value: IObservableProp<string[]>, options?: IBlockListPropertyItemOptions, ): IBlockListPropertyItem; addBlockTable( options?: IBlockTablePropertyItemOptions, ): IBlockTablePropertyItem; addBool( value: IObservableProp<boolean>, options?: IBoolPropertyItemOptions, ): IBoolPropertyItem; addButton( action: ButtonPropertyItemSupportedActionTypes, options?: IButtonPropertyItemOptions, ): IButtonPropertyItem; addButtonPane( options?: IButtonPanePropertyItemOptions, ): IButtonPanePropertyItem; addColorPicker( value: IObservableProp<RGBA>, options?: IColorPickerPropertyItemOptions, ): IColorPickerPropertyItem; addColorTimeline( value: IObservableProp<number>, options?: IColorTimelinePropertyItemOptions, ): IColorTimelinePropertyItem; addComboBox( value: IObservableProp<string>, options?: IComboBoxPropertyItemOptions, ): IComboBoxPropertyItem; addDataTable( options?: IDataTablePropertyItemOptions, ): IDataTablePropertyItem; addDivider(): IPropertyItemBase; addDropdown( value: IObservableProp<number>, options?: IDropdownPropertyItemOptions, ): IDropdownPropertyItem; addImage( value: IObservableProp<string | ImageResourceData>, options?: IImagePropertyItemOptions, ): IImagePropertyItem; addLink( value: IObservableProp<string>, options?: ILinkPropertyItemOptions, ): ILinkPropertyItem; addNumber( value: IObservableProp<number>, options?: INumberPropertyItemOptions, ): INumberPropertyItem; addNumberTimeline( value: IObservableProp<number>, options?: INumberTimelinePropertyItemOptions, ): INumberTimelinePropertyItem; addProgressIndicator( options?: IProgressIndicatorPropertyItemOptions, ): IProgressIndicatorPropertyItem; addProxyPane(paneId: string): void; addString( value: IObservableProp<string>, options?: IStringPropertyItemOptions, ): IStringPropertyItem; addText( value: IObservableProp<LocalizedString>, options?: ITextPropertyItemOptions, ): ITextPropertyItem; addToggleGroup( value: IObservableProp<number>, options?: IToggleGroupPropertyItemOptions, ): IToggleGroupPropertyItem; addVector3( value: IObservableProp<Vector3>, options?: IVector3PropertyItemOptions, ): IVector3PropertyItem; beginConstruct(): void; collapse(): void; createSubPane(options: ISubPanePropertyItemOptions): ISubPanePropertyItem; endConstruct(): void; getTitle(): LocalizedString; hide(): void; removeSubPane(paneToRemove: IPropertyPane): boolean; setTitle(newTitle: LocalizedString): void; show(): void; toggleSubPaneVisibility(subPaneId: string): void;} 属性
collapsed
collapsed: boolean
onPropertyPaneVisibilityUpdated
方法
addProxyPane
addProxyPane(paneId: string): void
toggleSubPaneVisibility
toggleSubPaneVisibility(subPaneId: string): void
Property pane present dynamic content. It can be associated with an object and presented with different kind of controls.