Share via


<MaxSize> (RibbonDiffXml)

Si applica a: CRM 2016 on-prem, CRM Online

Definisce il layout più grande possibile per un gruppo.

Sintassi

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

Attributi ed elementi

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

Attributi

Attribute Description Type Usage

GroupId

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

String

Required

Id

Specifica un identificatore univoco per la definizione di un elemento della barra multifunzione. La convenzione di denominazione consigliata è l'utilizzo di un punto per separare le parti del nome, come segue: [identificatore soluzione].[entità].[barra multifunzione].[funzione].[nome elemento]. Ad esempio: 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.

Importante

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

String

Required

Sequence

Specificare la posizione della modifica della barra multifunzione impostando il parametro Sequence su un valore più alto o più basso degli elementi esistenti della barra multifunzione.

Integer

Optional

Size

Collega a un layout specifico con un riferimento a un valore dell'attributo LayoutTitle.

String

Required

Elementi figlio

Questo elemento non presenta elementi figlio.

Elementi padre

Element Description

CommandUIDefinition

Specifica gli elementi della barra multifunzione visibili da includere in un elemento CustomAction.

Scaling

Contiene una raccolta di elementi utilizzati per definire come vengono presentati i gruppi della barra multifunzione quando cambia lo spazio orizzontale disponibile.

Informazioni elemento

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

Vedere anche

Altre risorse

Ribbon XML reference
Personalizzare i comandi e la barra multifunzione

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