Поделиться через


<DisplayRules> (RibbonDiffXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains a collection of display rules.

Syntax

<DisplayRules>
 <DisplayRule />
</DisplayRules>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<DisplayRule> (RibbonDiffXml)

Specifies either the definition of a rule used to display a ribbon element or a reference to a DisplayRule from a command definition.

Parent Elements

Element

Description

<RuleDefinitions> (RibbonDiffXml)

Contains a collection of rule definitions.

<CommandDefinition> (RibbonDiffXml)

Specifies a set of rules that control how a ribbon element is displayed and actions to perform that can be referenced by ribbon elements and controls.

Element Information

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/DisplayRules |
//RibbonDiffXml/RuleDefinitions/DisplayRules

Schema Name

  • ReferenceDisplayRulesType

  • DisplayRulesType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright