你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ControlBarButtonStrings interface
可重写的 ControlBarButton 字符串。
属性
label | 按钮的标签。 如果使用,这将取代 onLabel 或 offLabel。 |
off |
未选中按钮时显示的按钮标签。 |
on |
选中按钮时显示的按钮标签。 |
tooltip |
按钮的工具提示内容。 这将取代 tooltipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。 |
tooltip |
禁用按钮时的工具提示内容。 |
tooltip |
按钮处于未选中状态时的工具提示内容。 |
tooltip |
按钮处于选中状态时的工具提示内容。 |
属性详细信息
label
按钮的标签。 如果使用,这将取代 onLabel 或 offLabel。
label?: string
属性值
string
offLabel
未选中按钮时显示的按钮标签。
offLabel?: string
属性值
string
onLabel
选中按钮时显示的按钮标签。
onLabel?: string
属性值
string
tooltipContent
按钮的工具提示内容。 这将取代 tooltipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。
tooltipContent?: string
属性值
string
tooltipDisabledContent
禁用按钮时的工具提示内容。
tooltipDisabledContent?: string
属性值
string
tooltipOffContent
按钮处于未选中状态时的工具提示内容。
tooltipOffContent?: string
属性值
string
tooltipOnContent
按钮处于选中状态时的工具提示内容。
tooltipOnContent?: string
属性值
string