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


<Color> (RibbonDiffXml)

 

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

Specifies a color within a collection of colors for a color picker control.

Syntax

<Color Color="String"
 DisplayColor="String"
 Sequence="String"
 Style="String"
 Title="String"
/>

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

Color

Specifies a color within a collection of colors for a color picker control.

String

Optional

DisplayColor

A hexadecimal color code to use for the background color of the table cell, such as "#FF0000" (red).

String

Optional

Sequence

Specify the location of the ribbon modification by setting the Sequence value higher or lower than existing ribbon elements.

Integer

Optional

Style

The name of a CSS selector to apply to the table cell that represents the color.

String

Optional

Title

This element is not used in Microsoft Dynamics 365.

String

Optional

Child Elements

This element has no attributes.

Parent Elements

Element

Description

<Colors> (RibbonDiffXml)

Specifies a collection of colors for a color picker control.

Element Information

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/ColorPicker/Colors/Color

Schema Name

ColorStyleType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

See Also

Customize commands and the ribbon
Ribbon XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright