Row 元素

上次修改时间: 2015年3月9日

适用范围: SharePoint Foundation 2010

本文内容
子元素
父元素
出现次数

定义布局节中的行。

<Row />

子元素

ControlRef

Strip

OverflowArea

父元素

Section

出现次数

最小值: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>