<OverflowSection> (RibbonDiffXml)

应用到: CRM 2015 on-prem, CRM Online

指定布局的某个部分,它允许控件根据可用空间更改相对位置。

语法

<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"]
 />

属性和元素

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

属性

Attribute Description Type Usage

DisplayMode

控制用于显示元素的模式。

Valid values:

 

Value Description

Default

使用默认模式显示元素。

Small

以小型模式显示元素。

Medium

以中等模式显示元素。

Large

以大型模式显示元素。

Text

以文本模式显示元素。

Menu

显示诸如菜单这样的元素。

Menu16

以 16 像素的高度显示菜单元素。

Menu32

以 32 像素的高度显示菜单元素。

Thin

以小型模式显示元素。

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

将 CommandUIDefinition 的功能区元素子级与 Layout 元素子级中的位置占位符关联。此值定义了控件在布局发生更改时在控件组中的显示位置。

String

Optional

Type

指定部分的类型。

Valid values:

 

Value Description

Divider

此部分充当各部分间的分隔线。

OneRow

此部分将显示一个行。

TwoRow

此部分将显示两个行。

ThreeRow

此部分将显示三个行。

Enumeration

Optional

子元素

此元素没有子元素。

父元素

Element Description

<Layout> (RibbonDiffXml)

在 GroupTemplate 中指定组的布局。

元素信息

XPath

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

Schema Name

OverflowSectionType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

另请参阅

其他资源

Ribbon XML reference
自定义命令和功能区

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.