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

ControlBarProps interface

的属性 <xref:ControlBar>。

属性

children

React 子组件。

layout

更改控件条的布局。 可用布局包括 horizontal、、verticaldockedTopdockedBottomdockedLeftdockedRightfloatingTopfloatingBottomfloatingLeftfloatingRight 默认为 horizontal 布局。

styles

允许用户传递包含自定义 CSS 样式的对象。

示例

<ControlBar styles={{ root: { background: 'blue' } }} />

属性详细信息

children

React 子组件。

children?: React_2.ReactNode

属性值

React_2.ReactNode

layout

更改控件条的布局。 可用布局包括 horizontal、、verticaldockedTopdockedBottomdockedLeftdockedRightfloatingTopfloatingBottomfloatingLeftfloatingRight 默认为 horizontal 布局。

layout?: ControlBarLayout

属性值

styles

允许用户传递包含自定义 CSS 样式的对象。

示例

<ControlBar styles={{ root: { background: 'blue' } }} />
styles?: BaseCustomStyles

属性值