Script API - v1.21.80

    Interface IToggleGroupPropertyItem

    A property item which supports toggle button properties

    interface IToggleGroupPropertyItem {
        enable: boolean;
        id: string;
        paneId: string;
        typeName: PropertyItemType;
        value: number;
        visible: boolean;
        getEntryByIndex(index: number): IToggleGroupPropertyItemEntry;
        getEntryByValue(value: number): IToggleGroupPropertyItemEntry;
        setTitle(title: LocalizedString): void;
        setTooltip(tooltip: LocalizedString): void;
        updateEntries(
            entries: IToggleGroupPropertyItemEntry[],
            newValue?: number,
        ): void;
    }

    Hierarchy (View Summary, Expand)

    Index

    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.

    value: number

    Current selected entry value.

    visible: boolean

    If the item should be visible in the UI.

    Methods

    • Parameters

      • entries: IToggleGroupPropertyItemEntry[]

        New list of updated entries.

      • OptionalnewValue: number

        New value value to use for the selected toggle button.

      Returns void

      Update list of toggle group entries.

    MMNEPVFCICPMFPCPTTAAATR