共用方式為


<Section> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

Contains a collection of rows.

Syntax

<Section 
 Alignment=["Top" | "Middle"]
 Type=["Divider" | "OneRow" | "TwoRow" | "ThreeRow"]
 >
 <Row />
</Section>

Attributes and Elements

The following describes the attributes, child elements, and parent elements.

Attributes

Attribute

Description

Type

Usage

Alignment

Specifies the vertical alignment of controls within the section.

Valid values:

Value

Description

Top

The rows should be aligned to the top.

Middle

The rows should be aligned to the middle.

Enumeration

Optional

Type

Specifies the type of section.

Valid values:

Value

Description

Divider

The section acts as a divider between sections.

OneRow

The section will display one row.

TwoRow

The section will display two rows.

ThreeRow

The section will display three rows.

Enumeration

Optional

Child Elements

Element

Description

<Row> (RibbonDiffXml)

Specifies a row within a Section.

Parent Elements

Element

Description

<Layout> (RibbonDiffXml)

Specifies a layout for a Group within a GroupTemplate.

Element Information

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/GroupTemplate/Layout/Section

Schema Name

SectionType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon