接口 IStringPropertyItemOptions实验性

Optional properties for String property item

interface IStringPropertyItemOptions {
    enable?: boolean;
    hiddenLabel?: boolean;
    onChange?: ((newValue: string, oldValue: string) => void);
    regexPattern?: string;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    visible?: boolean;
}

层级 (查看完整内容)

属性

enable?: boolean

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

hiddenLabel?: boolean

If true label text will be hidden. If undefined, the label will be visible by default.

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

This callback is called when UI control value is changed.

regexPattern?: string

Optional regular expression pattern to validate string.

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.