A property item which supports Button properties

interface IButtonPropertyItem {
    enable: boolean;
    id: string;
    paneId: string;
    typeName: PropertyItemType;
    visible: boolean;
    replaceAction(action: RegisteredAction<NoArgsAction>): void;
    setIcon(icon: string): void;
    setTitle(title: LocalizedString): void;
    setTooltip(tooltip: LocalizedString): void;
}

Hierarchy (View Summary)

Properties

enable: boolean

If the item is enabled in the UI.

id: string

Unique ID for the property item.

paneId: string

The parent pane id.

The type name of the target property.

visible: boolean

If the item should be visible in the UI.

Methods

  • Parameters

    • icon: string

      New button icon.

    Returns void

    Updates icon of the button.

  • Parameters

    Returns void

    Updates tooltip description of the button.