通过


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

CustomCallControlButtonProps interface

来自 CustomCallControlButtonCallback 的响应。 包括渲染 ControlBarButton 或 <xref:DrawerMenuItem>.

属性

disabled

按钮是否被禁用

iconName

要渲染的图标。 Icon 是一个非默认的图标名称,需要通过 fluentui 使用 registerIcons 注册为自定义图标。 示例包括 fluentui 库中的图标

id

为标准 HTML ID 属性设置的唯一 ID

onItemClick

单击按钮时进行回拨

placement

相对于其他按钮放置自定义按钮的位置。

showLabel

是否显示标签。 如果未设置任何值,则 showLabel 将遵循复合规则

strings

在组件中重写的可选字符串

属性详细信息

disabled

按钮是否被禁用

disabled?: boolean

属性值

boolean

iconName

要渲染的图标。 Icon 是一个非默认的图标名称,需要通过 fluentui 使用 registerIcons 注册为自定义图标。 示例包括 fluentui 库中的图标

iconName?: string

属性值

string

id

为标准 HTML ID 属性设置的唯一 ID

id?: string

属性值

string

onItemClick

单击按钮时进行回拨

onItemClick?: () => void

属性值

() => void

placement

相对于其他按钮放置自定义按钮的位置。

placement: CustomCallControlButtonPlacement

属性值

showLabel

是否显示标签。 如果未设置任何值,则 showLabel 将遵循复合规则

showLabel?: boolean

属性值

boolean

strings

在组件中重写的可选字符串

strings?: CustomCallControlButtonStrings

属性值