Optional properties for ComboBox property item

interface IComboBoxPropertyItemOptions {
    dataType?: ComboBoxPropertyItemDataType;
    defaultValue?: string;
    enable?: boolean;
    entries?: string[];
    hiddenLabel?: boolean;
    onChange?: (newValue: string, oldValue: string) => void;
    showImage?: boolean;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    visible?: boolean;
}

Hierarchy (View Summary)

Properties

Possible data types supported by combo box. If undefined, it will be Custom by default.

defaultValue?: string

Default value to fall back to if entry is not found. If undefined, data type will determine the default value (empty string for Custom data type).

enable?: boolean

Initial enabled state of property item. If undefined, it will default to true.

entries?: string[]

List of combo box entries. If undefined, data type will determine the default list (empty list for Custom data type).

hiddenLabel?: boolean

If true label text will be hidden. It will be visible by default.

onChange?: (newValue: string, oldValue: string) => void

This callback is called when UI control value is changed.

showImage?: boolean

If true the image for the selected value will be displayed (if data type supports it). If undefined, it will default to false.

Localized title of the property item.

tooltip?: LocalizedString

Tooltip description of the property item.

visible?: boolean

Initial visibility state of property item. If undefined, it will default to true.