<MaxSize> (RibbonDiffXml)

適用於: CRM 2015 on-prem, CRM Online

定義群組的最大可能配置。

語法

<MaxSize
 GroupId="String"
 Id="String"
 Sequence="Integer"
 Size="String"
/>

屬性和元素

The following table lists the attributes, child elements, and parent elements.

屬性

Attribute Description Type Usage

GroupId

A string that identifies the <Group> (RibbonDiffXml) that this element pertains to.

String

Required

Id

為功能區元素定義指定唯一識別碼。強烈建議的命名慣例是使用句號分隔名稱的各個部分,如下:[solution identifier].[entity].[ribbon].[function]...[element name]。例如:MyISV.account.form.SendToOtherSystem.Button。

Use the {!EntityLogicalName} token in the Id attribute when you define a ribbon element that will be used for multiple entities. This inserts the entity logical name into the Id value to make sure that the Id value is globally unique.

For example, if you use MyISV.{!EntityLogicalName}.form.SendToOtherSystem.Button with the account entity, the Id will be MyISV.account.form.SendToOtherSystem.Button. For the contact entity, the Id will be MyISV.contact.form.SendToOtherSystem.Button.

重要

If you don’t set a globally unique Id value, the ribbon might not display.

String

Required

Sequence

藉由將 Sequence 值設定為高於或低於現有功能區元素,以指定功能區修改的位置。

Integer

Optional

Size

特定配置的連結,內含 LayoutTitle 屬性值的參照。

String

Required

子元素

此元素沒有子元素。

上層元素

Element Description

CommandUIDefinition

指定要包含在 CustomAction 元素中的可見 Ribbon 元素。

Scaling

包含元素集合,用於定義可用的水平空間變更時功能區群組的顯示方式。

元素資訊

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/MaxSize |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ContextualGroup/Tab/Scaling/MaxSize

Schema Name

MaxSizeType

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.