Compartir a través de


<Color> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

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

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