你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ControlBarButtonStrings interface

可以重写的 ControlBarButton 字符串。

属性

label

按钮的标签。 这会取代 onLabel 或 offLabel(如果使用)。

offLabel

未选中按钮时显示的按钮的标签。

onLabel

选中按钮时显示的按钮的标签。

tooltipContent

按钮的工具提示内容。 这取代了工具tipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。

tooltipDisabledContent

禁用按钮时的工具提示内容。

tooltipOffContent

按钮处于未选中状态时的工具提示内容。

tooltipOnContent

按钮处于选中状态时的工具提示内容。

属性详细信息

label

按钮的标签。 这会取代 onLabel 或 offLabel(如果使用)。

label?: string

属性值

string

offLabel

未选中按钮时显示的按钮的标签。

offLabel?: string

属性值

string

onLabel

选中按钮时显示的按钮的标签。

onLabel?: string

属性值

string

tooltipContent

按钮的工具提示内容。 这取代了工具tipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。

tooltipContent?: string

属性值

string

tooltipDisabledContent

禁用按钮时的工具提示内容。

tooltipDisabledContent?: string

属性值

string

tooltipOffContent

按钮处于未选中状态时的工具提示内容。

tooltipOffContent?: string

属性值

string

tooltipOnContent

按钮处于选中状态时的工具提示内容。

tooltipOnContent?: string

属性值

string