(Server 功能区) 的 Row 元素

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

定义布局节中的行。

<Row />

元素和属性

下面各部分介绍了属性、子元素和父元素。

Attributes

子元素

父元素

出现次数

  • 最小值:0
  • 最大值:3

示例

以下示例是默认服务器功能区定义的片段。

<GroupTemplate Id="Ribbon.Templates.ClipboardGroup">
  <Layout Title="Large">
    <Section Type="OneRow">
      <Row>
        <ControlRef TemplateAlias="paste" DisplayMode="Large" />
      </Row>
    </Section>
    <Section Type="TwoRow">
      <Row>
        <ControlRef TemplateAlias="copy" DisplayMode="Medium" />
      </Row>
      <Row>
        <ControlRef TemplateAlias="cut" DisplayMode="Medium" />
      </Row>
    </Section>
    <Section Type="TwoRow">
      <Row>
        <ControlRef TemplateAlias="undo" DisplayMode="Medium" />
      </Row>
      <Row>
        <ControlRef TemplateAlias="redo" DisplayMode="Medium" />
      </Row>
    </Section>
  </Layout>
</GroupTemplate>