Udostępnij za pośrednictwem


<EnableRules> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2015

Contains a collection of enable rules.

Syntax

<EnableRules >
 <EnableRule />
</EnableRules>

Attributes and Elements

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

Attributes

This element has no attributes.

Child Elements

Element

Description

<EnableRule> (RibbonDiffXml)

Specifies either the definition of a rule used to enable or disable a ribbon element or a reference to an EnableRule from a command definition.

Parent Elements

Element

Description

<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.

<RuleDefinitions> (RibbonDiffXml)

Contains a collection of rule definitions.

Element Information

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/EnableRules |
//RibbonDiffXml/RuleDefinitions/EnableRules

Schema Name

  • CommandDefinitionType/EnableRules

  • EnableRulesType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon

© 2016 Microsoft. All rights reserved. Copyright