<ColorPicker> (RibbonDiffXml)
Specifies a color picker control.
Important |
|---|
| This control is not supported. For information about supported controls, see Define Ribbon Controls. |
<ColorPicker Command="String" CommandPreview="String" CommandRevert="String" Id="String" QueryCommand="String" Sequence="Integer" TemplateAlias="String" > <Colors /> </ColorPicker>
The following table lists the attributes, child elements, and parent elements.
Attributes
| Attribute | Description | Type | Usage | ||
|---|---|---|---|---|---|
|
Command |
Specifies the ID of the ribbon command for this control. |
String |
Optional |
||
|
CommandPreview |
Specifies the ID of the ribbon command to run when the cursor hovers over the control before it is selected. |
String |
Optional |
||
|
CommandRevert |
Specifies the ID of the ribbon command to run when the user selects undo. |
String |
Optional |
||
|
Id |
Specifies a unique identifier for the definition of a ribbon element. The strongly recommended naming convention is to use a period to separate the parts of the name like so: [solution identifier].[entity].[ribbon].[function].[element name]. For example: MyISV.account.form.SendToOtherSystem.Button. Use the {!EntityLogicalName} token in the Id attribute when you define a ribbon element that will be used for multiple entities. This inserts the entity logical name into the Id value to make sure that the Id value is globally unique. For example, if you use
|
String |
Required |
||
|
QueryCommand |
Specifies the name of the command to run when polling for state information. |
String |
Optional |
||
|
Sequence |
Specify the location of the ribbon modification by setting the Sequence value higher or lower than existing ribbon elements. |
Integer |
Optional |
||
|
TemplateAlias |
Associates a ribbon element child of CommandUIDefinition with a location placeholder within a child of a Layout element. This value defines where the control will display within a group of controls when the layout changes. |
String |
Optional |
Child Elements
| Element | Description |
|---|---|
|
Specifies a collection of colors for a color picker control. |
Parent Elements
| Element | Description |
|---|---|
|
Specifies the visible Ribbon elements to be included within a CustomAction element. |
|
|
Contains a collection of controls. |
|
XPath |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ColorPicker | //RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Controls/ColorPicker | //RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/ColorPicker |
|
Schema Name |
ColorPickerType |
|
Validation File |
RibbonWSS.xsd |
|
Can be Empty |
Yes |
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Important