共用方式為


<OverflowSection> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

Specifies a division of a Layout which allows controls to change relative position depending on the available space.

Syntax

<OverflowSection 
 DisplayMode=["Default" | "Small" | "Medium" | "Large" | "Text" | "Menu" | "Menu16" | "Menu32" | "Thin"]
 DividerAfter=["0" | "1" | "true" | "false"]
 DividerBefore=["0" | "1" | "true" | "false"]
 TemplateAlias="String" 
 Type=["Divider" | "OneRow" | "TwoRow" | "ThreeRow"]
 />

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

DisplayMode

Controls the mode used to display the element.

Valid values:

Value

Description

Default

Displays the element using the default mode.

Small

Displays the element in small mode.

Medium

Displays the element in medium mode.

Large

Displays the element in large mode.

Text

Displays the element in text mode.

Menu

Displays the element like a menu.

Menu16

Displays the element in a menu with a height of 16 pixels.

Menu32

Displays the element in a menu with a height of 32 pixels.

Thin

Displays the element in thin mode.

Enumeration

Optional

DividerAfter

TRUE to render a divider at the end of the section.

Boolean

Optional

DividerBefore

TRUE to render a divider at the start of the section.

Boolean

Optional

TemplateAlias

Associates a ribbon element child of CommandUIDefinition with a location placeholder within a child of a Layout element. This value defines where the control will display within a group of controls when the layout changes.

String

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

This element has no child elements.

Parent Elements

Element

Description

<Layout> (RibbonDiffXml)

Specifies a layout for a Group within a GroupTemplate.

Element Information

XPath

//RibbonDiffXml/Templates/RibbonTemplates/GroupTemplate/Layout/OverflowSection

Schema Name

OverflowSectionType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon