Delen via


<Menu> (RibbonDiffXml)

Van toepassing op: CRM 2015 on-prem, CRM Online

Hiermee wordt een container voor de weergave van pop-upmenu's opgegeven.

Syntaxis

<Menu
 Id="String"
 MaxWidth="String" 
>
 <MenuSection />
</Menu>

Kenmerken en elementen

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

Kenmerken

Attribute Description Type Usage

Id

Hiermee wordt een unieke id voor de definitie van een lintelement opgegeven. De naamconventie die wij sterk aanbevelen is het gebruik van een punt om delen van de naam als volgt te scheiden: [oplossings-id].[entity].[ribbon].[function].[elementnaam]. Bijvoorbeeld: 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.

Belangrijk

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

String

Required

MaxWidth

The maximum width in pixels.

String

Optional

Onderliggende elementen

Element Description

<MenuSection> (RibbonDiffXml)

Hiermee wordt een sectie voor het splitsen van een menu opgegeven. Een menusectie kan een titel hebben en besturingselementen bevatten.

Bovenliggende elementen

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Hiermee worden de zichtbare lintelementen opgegeven die in een CustomAction-element worden opgenomen.

<ComboBox> (RibbonDiffXml)

Afgeschaft: specificeerde een lijst waaruit een waarde wordt geselecteerd door te klikken of te typen.

<FlyoutAnchor> (RibbonDiffXml)

Hiermee wordt een knop met een pijl-omlaag voor het openen van een menu opgegeven.

<DropDown> (RibbonDiffXml)

Afgeschaft: specificeerde een lijst waaruit een waarde werd geselecteerd door te klikken.

<MRUSplitButton> (RibbonDiffXml)

Afgeschaft: specificeerde een besturingselement voor een splitsknop waarmee de meest recentelijk gebruikte items worden weergegeven.

<SplitButton> (RibbonDiffXml)

Hiermee wordt een besturingselement voor een knop en een menu opgegeven.

Informatie over elementen

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ComboBox/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/FlyoutAnchor/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/DropDown/Menu |
//Controls/DropDown/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/MRUSplitButton/Menu |
//Controls/MRUSplitButton/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/SplitButton/Menu |
//Controls/SplitButton/Menu

Schema Name

MenuType

Validation File

RibbonWSS.xsd

Can be Empty

No

Zie ook

Overige resources

Ribbon XML reference
Opdrachten en het lint aanpassen

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