<TabDisplayRule> (RibbonDiffXml)
Applies To: Dynamics CRM 2015
Specifies conditions when a tab will display.
Syntax
<TabDisplayRule
TabCommand="String"
>
<EntityRule />
<PageRule />
</TabDisplayRule>
Attributes and Elements
The following describes the attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
Type |
Usage |
---|---|---|---|
TabCommand |
Associates the TabDisplayRule with a corresponding Tab.Command. |
String |
Required |
Child Elements
Element |
Description |
---|---|
Specifies a rule that can detect whether a specific entity is in context. |
|
A rule that evaluates the address of the current page. PageRule is valid when TabDisplayRule is a descendent of ImportExportXml/RibbonDiffXml |
Parent Elements
Element |
Description |
---|---|
Contains a collection of TabDisplayRule elements. |
Remarks
When a TabDisplayRule is defined outside a specific entity using ImportExportXml/RibbonDiffXml/RuleDefinitions, <PageRule> (RibbonDiffXml) is a valid child element.
Element Information
XPath |
|
Schema Name |
|
Validation File |
RibbonTypes.xsd |
Can be Empty |
No |
See Also
Ribbon XML reference
Customize commands and the ribbon
© 2016 Microsoft. All rights reserved. Copyright